DG Kernel Documentation


Skip Navigation Links.
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.