File mechanics/src/collision/native/bodies/SphereNEDS.hpp

Go to the source code of this file

Definition of a 3D Sphere as a NewtonEulerDS (with quaternions).

class SphereNEDS : public NewtonEulerDS, public std11::enable_shared_from_this<SphereNEDS>

Public Functions

SphereNEDS(double, double, SP::SiconosMatrix, SP::SiconosVector, SP::SiconosVector)
~SphereNEDS()
ACCEPT_BASE_VISITORS(NewtonEulerDS)

visitors hook

double getQ(unsigned int pos)
double getRadius() const
double getVelocity(unsigned int pos)

Protected Functions

SphereNEDS()
ACCEPT_SERIALIZATION(SphereNEDS)

serialization hooks

Protected Attributes

double radius