GetGeometry¶
-
virtual PGeometry IRigidBody::GetGeometry(std::string &name) const = 0¶
Gets the geometry with the specified name.
- Parameters
name – Name of the geometry.
- Returns
PGeometry – The geometry with the specified name.
- Throws
CCommunicationErrorException– Protocol error.CConnectionLostException– Connection to controller lost.CObjectDestroyedException– Object is destroyed.CRebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CInvalidArgumentException– Geometry with specified name does not exist.