CreateGeometry¶
-
IGeometry IRigidBody.CreateGeometry(string name, IGeometryConfig configuration, IFrame referenceFrame)¶
Creates a geometry.
- Parameters
name – Name of the geometry.
configuration – Geometry configuration.
referenceFrame – Frame used as reference frame for geometry ‘Center’ Frame.
- Returns
IGeometry – Created geometry.
- Throws
CommunicationErrorException
– Protocol error.ConnectionLostException
– Connection to controller lost.System.ObjectDisposedException
– Object is disposed.RebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.InvalidArgumentException
– Name string does not follow naming rules.InvalidArgumentException
– Geometry name is not unique.OutOfResourcesException
– Out of memory while creating geometry.UnsupportedException
– Specific configuration is not supported.