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 std::enable_shared_from_this<SphereNEDS>

Public Functions

SphereNEDS(double, double, SP::SiconosMatrix, SP::SiconosVector, SP::SiconosVector)#
~SphereNEDS()#
inline double getQ(unsigned int pos)#
inline double getVelocity(unsigned int pos)#
inline double getRadius() const#
ACCEPT_BASE_VISITORS(NewtonEulerDS)#

Protected Functions

ACCEPT_SERIALIZATION(SphereNEDS)#
inline SphereNEDS()#

Protected Attributes

double radius#