DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Expand ModelModel
Expand ViewView
Expand General ComputingGeneral Computing
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation LinksHome Page > API Reference > General Geometry > General > ILocation 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.