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