mirror of
https://github.com/nasa/trick.git
synced 2025-01-11 07:23:16 +00:00
496de8c7a9
* Disambiguate python use #1250 Changed all calls to /usr/bin/python to /usr/bin/env python3. Removed execute permissions on a lot of files that are not executable. closes #1250
29 lines
704 B
C++
29 lines
704 B
C++
/************************************************************************
|
|
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;
|
|
unsigned int numAssociations ;
|
|
REGULA_FALSI* ballAssociations ;
|
|
void ballCollision(Ball &b1, Ball &b2);
|
|
|
|
int default_data();
|
|
int state_init();
|
|
int state_deriv();
|
|
int state_integ();
|
|
double collision();
|
|
|
|
};
|
|
#endif
|