AimTo
Returns an IPosition80object that represents the same position as the caller’s coordinates and the angles that are directed toward the given coordinates.
JavaScript |
|
AimTo( Position) |
C# |
|
IPosition80 AimTo( IPosition80 Position) |
C++ |
|
HRESULT AimTo( IPosition80* Position, IPosition80** pVal) |
Parameters
Position
An IPosition80 representing a position on the terrain.
Return Value
pVal
An IPosition80 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.