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 ViewsViews
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


ILocation Interface

GetLocation
SetLocation

ILocation interface is implemented by objects to give access to an array of three double numbers, which is, normally, a point in 3D space.

See also IAxis interface, Modal View Sample, and Interface List


HRESULT GetLocation( double * pdX, double * pdY, double * pdZ )

Parameters

pdX, pdY, pdZ - [out] pointer to the double variable which will receive the coordinate.

Return Values

S_OK in case of success.

HRESULT SetLocation( double dX, double dY, double dZ)

Parameters

dX, dY, dZ - [in] coordinates of new location.

Return Values

S_OK in case of success.