Body Class Reference
[Physical bodies]

Interface for bodies. More...

#include <world.h>

Inheritance diagram for Body:

Particle RigidBody ChargedParticle Polygon List of all members.

Public Member Functions

virtual int variablesCount ()=0
virtual void setVariables (const double *array)=0
virtual void getVariables (double *array)=0
virtual void getDerivatives (double *array)=0
virtual void resetDerivatives ()=0

Detailed Description

Interface for bodies.

Body is anything that has dynamic variables that require ODE integration


Member Function Documentation

virtual int variablesCount (  )  [pure virtual]

Get count of dynamic variables

Implemented in Particle, and RigidBody.

virtual void setVariables ( const double *  array  )  [pure virtual]

Set dynamic variables using values in array

Implemented in Particle, and RigidBody.

virtual void getVariables ( double *  array  )  [pure virtual]

Copies dynamic variables to array

Implemented in Particle, and RigidBody.

virtual void getDerivatives ( double *  array  )  [pure virtual]

Copies derivatives of dynamic variables to array

Implemented in Particle, and RigidBody.

virtual void resetDerivatives (  )  [pure virtual]

Resets derivatives of dynamic variables to zero

Implemented in Particle, and RigidBody.


The documentation for this class was generated from the following file:
Generated on Thu Mar 15 14:23:37 2007 for StepCore by  doxygen 1.5.1