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

Go to the source code of this file

Definition of a 3D sphere as a LagrangianDS (with Euler Angles)

class SphereLDS : public LagrangianDS, public std11::enable_shared_from_this<SphereLDS>

Public Functions

SphereLDS(double, double, SP::SiconosVector, SP::SiconosVector)
~SphereLDS()
ACCEPT_BASE_VISITORS(LagrangianDS)

visitors hook

void computeFGyr(SP::SiconosVector, SP::SiconosVector)
void computeFGyr()
void computeJacobianFGyrq()
void computeJacobianFGyrq(SP::SiconosVector, SP::SiconosVector)
void computeJacobianFGyrqDot()
void computeJacobianFGyrqDot(SP::SiconosVector, SP::SiconosVector)
void computeMass()
void computeMass(SP::SiconosVector)
double getMassValue() const
double getQ(unsigned int pos)
double getRadius() const
double getVelocity(unsigned int pos)

Protected Functions

SphereLDS()
ACCEPT_SERIALIZATION(SphereLDS)

serialization hooks

Protected Attributes

double I
double massValue
double radius