ArcObjects Library Reference (DataSourcesRaster)  

IMensuration3D.GetAngle3D Method

Computes the 3D angle of the line connecting the two input 2D map points.

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

Parameters

pFirstPoint [in]

  pFirstPoint is a parameter of type IPoint

pSecondPoint [in]

  pSecondPoint is a parameter of type IPoint

ppAzimuthAngle [out]

  ppAzimuthAngle is a parameter of type IAngularMeasurement

ppElevationAngle [out]

  ppElevationAngle is a parameter of type IAngularMeasurement

Product Availability

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

See Also

IMensuration3D Interface