siconos.mechanics.collision.base.SiconosContactor (Python class)

class siconos.mechanics.collision.base.SiconosContactor(*args)[source]

Bases: object

Class to hold the shape assigned to a body, and to associate each shape with an offset and collision group.

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

Constructors

SiconosContactor(SiconosShape _shape, array_like (np.float64, 1D) _offset=array_like (np.float64, 1D)(), int _collision_group=0)
Attributes:
  • collision_group (int)
  • offset (array_like (np.float64, 1D))
  • shape (SiconosShape)