CreateGeometry

virtual PGeometry IRigidBody::CreateGeometry(const std::string &name, const PGeometryConfig &configuration, PFrame referenceFrame) = 0

Creates a geometry.

Parameters
  • name – Name of the geometry.

  • configuration – Geometry configuration.

  • referenceFrame – Frame used as reference frame for geometry ‘Center’ Frame.

Returns

PGeometry – Created geometry.

Throws