Returns an IPosition66 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# |
|
IPosition66 AimTo( IPosition66 Position) |
C++ |
|
HRESULT AimTo( IPosition66* Position, IPosition66** pVal) |
Parameters
Position
An IPosition66 representing a position on the terrain.
Return Value
pVal
An IPosition66 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.