This document is archived and information here might be outdated.  Recommended version.


ISurface.GetAspectRadians Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISurface Interface > ISurface.GetAspectRadians Method
ArcGIS Developer Help

ISurface.GetAspectRadians Method

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*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

See Also

ISurface Interface