Public Member Functions | |
| HRESULT | Volume ([in] BSTR bstrObjName,[out, retval] RtFloat *volume) |
| HRESULT | Cog ([in] BSTR bstrObjName,[out, retval] VARIANT *vCog) |
| HRESULT | Inertia ([in] BSTR bstrObjName,[out, retval] VARIANT *vInertia) |
| HRESULT | FixToPoint ([in] BSTR bstrObjName,[in] VARIANT p) |
| HRESULT | FixToPoints ([in] BSTR bstrObjName,[in] VARIANT p1,[in] VARIANT p2) |
| HRESULT | ReleaseFixation ([in] BSTR bstrObjName) |
| HRESULT | GetNumFixation ([in] BSTR bstrObjName,[out, retval] RtUlong *numfix) |
| HRESULT | GetFixPoint ([in] BSTR bstrObjName,[in] RtUlong index,[out, retval] VARIANT *vPoint) |
| HRESULT IRfPhysHelperDisp::Volume | ( | [in] BSTR | bstrObjName, | |
| [out, retval] RtFloat * | volume | |||
| ) |
Returns object's volume.
| bstrObjName | [in] Full name identification of the object. |
| HRESULT IRfPhysHelperDisp::Cog | ( | [in] BSTR | bstrObjName, | |
| [out, retval] VARIANT * | vCog | |||
| ) |
Returns gravity centre of object.
| bstrObjName | [in] Full name identification of the object. |
| HRESULT IRfPhysHelperDisp::Inertia | ( | [in] BSTR | bstrObjName, | |
| [out, retval] VARIANT * | vInertia | |||
| ) |
Returns object's inertia matrix.
| bstrObjName | [in] Full name identification of the object. |
| HRESULT IRfPhysHelperDisp::FixToPoint | ( | [in] BSTR | bstrObjName, | |
| [in] VARIANT | p | |||
| ) |
Sets object's fixation to one point.
| bstrObjName | [in] Full name identification of the object. | |
| p | [in] Fixation point |
| HRESULT IRfPhysHelperDisp::FixToPoints | ( | [in] BSTR | bstrObjName, | |
| [in] VARIANT | p1, | |||
| [in] VARIANT | p2 | |||
| ) |
Sets object's fixation to two points.
| bstrObjName | [in] Full name identification of the object. | |
| p1 | [in] First fixation point | |
| p2 | [in] Second fixation point |
| HRESULT IRfPhysHelperDisp::ReleaseFixation | ( | [in] BSTR | bstrObjName | ) |
Removes object's fixation.
| bstrObjName | [in] Full name identification of the object. |
| HRESULT IRfPhysHelperDisp::GetNumFixation | ( | [in] BSTR | bstrObjName, | |
| [out, retval] RtUlong * | numfix | |||
| ) |
Gets number of object's fixation.
| bstrObjName | [in] Full name identification of the object. |
| HRESULT IRfPhysHelperDisp::GetFixPoint | ( | [in] BSTR | bstrObjName, | |
| [in] RtUlong | index, | |||
| [out, retval] VARIANT * | vPoint | |||
| ) |
Gets number of object's fixation.
| bstrObjName | [in] Full name identification of the object. | |
| index | [in] Index of fixation point (value can be 1 or 2). |
1.5.5