Class Disk

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

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

Definition of a 2D disk - Inherits from LagrangianDS.

Public Functions

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

Constructor.

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

virtual ~Disk()

destructor

ACCEPT_BASE_VISITORS(LagrangianDS)

visitors hook