This document is archived and information here might be outdated. Recommended version. |
Returns the aspect at the specified location in radians.
[Visual Basic .NET] Public Function GetAspectRadians ( _ ByVal pPoint As IPoint _ ) As Double
[C#] public double GetAspectRadians ( IPoint pPoint );
[C++]
HRESULT GetAspectRadians(
IPoint* pPoint
);
[C++] Parameters pPoint [in]
pPoint is a parameter of type IPoint*
Returns the aspect of the surface, in radians, for the specified location. Aspect is defined as the direction of steepest slope. The possible range of values falls between 0.0 and 6.283185. 0.0 represents a north facing slope with increasing values changing aspect in a clockwise direction. For example, 1.570796 radians is due east, 3.141593 radians due south, and 4.712389 radians due west.
For some operations it may be desirable to work with aspect in degrees rather than radians. Use AspectDegrees for this.