siconos.mechanics.collision.bodies.Circle (Python class)

class siconos.mechanics.collision.bodies.Circle(*args)[source]

Bases: siconos.mechanics.collision.bodies.CircularDS

Definition of a 2D Circle - Inherits from CircularDS.

Generated class (swig), based on C++ header Program listing for file mechanics/src/collision/native/bodies/Circle.hpp.

Constructors

Circle(double radius, double mass, array_like (np.float64, 1D) position, array_like (np.float64, 1D) velocity)

Constructor.

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