AimTo

Returns an IPosition61 object that represents the same position as the caller’s coordinates and the angles that are directed toward the given coordinates.

 

JavaScript

 

AimTo(

       Position)

 

C#

 

IPosition61 AimTo(

       IPosition61 Position)

 

C++

 

HRESULT AimTo(

      IPosition61* Position,

      IPosition61** pVal)

Parameters

Position

An IPosition61 representing a position on the terrain.

Return Value

pVal

An IPosition61 representing the same position as the caller’s coordinates and the angles that are directed toward the given coordinates.

Exceptions

See:  HRESULT Return Values for a list of possible values returned by the HRESULT.