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


IMensuration.GetAzimuthAngle Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IMensuration.GetAzimuthAngle Method

Computes the azimuth angle of the line connecting the two input map points.

[Visual Basic .NET]
Public Sub GetAzimuthAngle ( _
    ByVal pFirstPoint As IPoint, _
    ByVal pSecondPoint As IPoint, _
    ByRef ppAngleMeasurement As IAngularMeasurement _
)
[C#]
public void GetAzimuthAngle (
    IPoint pFirstPoint,
    IPoint pSecondPoint,
    ref IAngularMeasurement ppAngleMeasurement
);
[C++]
HRESULT GetAzimuthAngle(
  IPoint* pFirstPoint,
  IPoint* pSecondPoint,
  IAngularMeasurement** ppAngleMeasurement
);
[C++]

Parameters pFirstPoint [in]
pFirstPoint is a parameter of type IPoint* pSecondPoint [in]
pSecondPoint is a parameter of type IPoint* ppAngleMeasurement [out]
ppAngleMeasurement is a parameter of type IAngularMeasurement**

Product Availability

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

See Also

IMensuration Interface