Class Circle

Defined in Program listing for file mechanics/src/collision/native/bodies/Circle.hpp

class Circle : public CircularDS, public std11::enable_shared_from_this<Circle>

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