IFrameEx Interface
- ToLocal
- ToGlobal
- ToLocalVector
- ToGlobalVector
This interface allows conversion between local and global
coordinates of a 3D point.
IFrameEx can be queried from the correspondent IFrame
interface.
See also Interface List
HRESULT ToLocal( DIPoint* point)
Parameters
point - [in, out] - point to be
converted to local coordinates
Returns
- S_OK in case of
success.
-
- Remarks:
This method allows conversion of 3D global coordinates to coordinates
relative to the local axes of the frame the interface was queried from.
HRESULT ToGlobal(DIPoint* point)
Parameters
point - [in, out] - point to be
converted to global coordinates
Return Values
-
- S_OK in case of
success.
-
- Remarks:
This method allows conversion of coordinates relative to the local axes of
the frame the interface was queried from to 3D global coordinates.
HRESULT ToLocalVector(DIVect* vect)
Parameters
vect - [in, out] - vextor to be
converted to local coordinates
Returns
- S_OK in case of
success.
-
- Remarks:
This method allows conversion of 3D global coordinates to coordinates
relative to the local axes of the frame the interface was queried from.
HRESULT ToGlobalVector(DIVect* vect)
Parameters
point - [in, out] - vextor to be
converted to global coordinates
Return Values
-
- S_OK in case of
success.
-
- Remarks:
This method allows conversion of coordinates relative to the local axes of
the frame the interface was queried from to 3D global coordinates.
|