CreateFrame¶
-
virtual PFrame IGeometry::CreateFrame(const std::string &name, PFrame referenceFrame) = 0¶
Creates a frame.
- Parameters
name – Name of the frame.
referenceFrame – Frame used as reference frame. Applied translations and/or rotations are with respect to the reference frame.
- Returns
PFrame – Created frame.
- 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
– Name string does not follow naming rules.COutOfResourcesException
– Out of memory while creating frame.