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

Go to the source code of this file

class CircularDS : public LagrangianDS
#include <CircularDS.hpp>

Definition of a 2D circular shape - Inherits from LagrangianDS.

Subclassed by Circle, Disk

Public Functions

CircularDS(double, double, SP::SiconosVector, SP::SiconosVector)
virtual ~CircularDS()
double getMassValue() const
double getQ(unsigned int pos)
double getRadius() const
double getVelocity(unsigned int pos)

Protected Functions

CircularDS()
ACCEPT_SERIALIZATION(CircularDS)

serialization hooks

Protected Attributes

double massValue
double radius