This method returns the calculated angle between two specified 3D-coordinates.
JavaScript |
|
GetAimingAngles(From, To) |
C# |
|
IPosition61 GetAimingAngles( IPosition61 From, IPosition61 To) |
C++ |
|
HRESULT GetAimingAngles( IPosition61 * From, IPosition61 * To, IPosition61 ** pVal ) |
Parameters
From
An IPosition61 representing the position of the first coordinate on the terrain.
To
An IPosition61 representing the position of the second coordinate on the terrain.
Return Value
pVal
An IPosition61 representing the position and orientation of the calculated angle.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.