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