ArcObjects Library Reference (GeoDatabase)  

ISurface.GetAspectDegrees Method

Returns the aspect at the specified location in degrees.

[Visual Basic .NET]
Public Function GetAspectDegrees ( _
    ByVal pPoint As IPoint _
) As Double
[C#]
public double GetAspectDegrees (
    IPoint pPoint
);
[C++]
HRESULT GetAspectDegrees(
  IPoint* pPoint,
  double* pAspect
);
[C++]

Parameters

pPoint [in]

  pPoint is a parameter of type IPoint

pAspect [out, retval]   pAspect is a parameter of type double

Product Availability

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

Description

Returns the aspect of the surface, in degrees, for the specified location. Aspect is defined as the direction of steepest slope. The possible range of values falls between 0.0 and 360. 0.0 represents a north facing slope with increasing values changing aspect in a clockwise direction. For example, 90 degrees is due east, 180 degrees due south, and 270 degrees due west.

For some operations it may be desirable to work with aspect in radians rather than degrees. Use AspectRadians for this.

 

See Also

ISurface Interface