mirror of
https://github.com/nasa/trick.git
synced 2025-01-07 21:58:46 +00:00
28 lines
650 B
C++
Executable File
28 lines
650 B
C++
Executable File
/************************************************************************
|
|
PURPOSE: (Simulate a contact.)
|
|
LIBRARY DEPENDENCIES:
|
|
((contact/src/Contact.o))
|
|
**************************************************************************/
|
|
#ifndef _contact_hh_
|
|
#define _contact_hh_
|
|
#include "trick/regula_falsi.h"
|
|
#include "Ball.hh"
|
|
|
|
class Contact {
|
|
|
|
public:
|
|
Contact(){}
|
|
Ball ** balls;
|
|
unsigned int nballs;
|
|
REGULA_FALSI rf ;
|
|
|
|
void ballCollision(Ball &b1, Ball &b2);
|
|
int default_data();
|
|
int state_init();
|
|
int state_deriv();
|
|
int state_integ();
|
|
double collision();
|
|
|
|
};
|
|
#endif
|