MoveCoord

This method moves a 2D-coordinate by a specified west-east and south-north offset. The X and Y coordinates to be converted should be given in doubleX and doubleY respectively. After the method is completed, the doubleX and doubleY return the new coordinates. For example, use this method to calculate the coordinates for drawing a square on a globe database.

 

HRESULT MoveCoord(

 [in, out] VARIANT* doubleX,

 [in, out] VARIANT* doubleY,

 [in] double moveWestEast,

 [in] double moveSouthNorth)

Parameters:

Return Values:

The return value obtained from the returned HRESULT can be one of the following:

 

Return value

Meaning

S_OK

Success.

TE_E_INTERNAL

TerraExplorer internal error.