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

Go to the source code of this file

class Circle : public CircularDS, public std11::enable_shared_from_this<Circle>
#include <Circle.hpp>

Definition of a 2D Circle - Inherits from CircularDS.

Public Functions

Circle(double radius, double mass, SP::SiconosVector position, SP::SiconosVector velocity)

Constructor.

Parameters
  • radius:
  • mass:
  • position: vector
  • velocity: vector

virtual ~Circle()

destructor

ACCEPT_BASE_SP_VISITORS(LagrangianDS)

visitors hook

Protected Functions

Circle()

Private Functions

ACCEPT_SERIALIZATION(Circle)

serialization hooks

void MassSetup()