DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Go to DGKC docs Search Documentation


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.