ArcObjects Library Reference (DataSourcesRaster)  

IMensuration.GetHeightFromBaseAndTop Method

Estimates the height of an object given the base and the top map points of the object.

[Visual Basic .NET]
Public Sub GetHeightFromBaseAndTop ( _
    ByVal pBaseOfObject As IPoint, _
    ByVal pTopOfObject As IPoint, _
    ByRef ppHtMeasurement As IHeightMeasurement _
)
[C#]
public void GetHeightFromBaseAndTop (
    IPoint pBaseOfObject,
    IPoint pTopOfObject,
    ref IHeightMeasurement ppHtMeasurement
);
[C++]
HRESULT GetHeightFromBaseAndTop(
  IPoint* pBaseOfObject,
  IPoint* pTopOfObject,
  IHeightMeasurement** ppHtMeasurement
);
[C++]

Parameters

pBaseOfObject [in]

  pBaseOfObject is a parameter of type IPoint

pTopOfObject [in]

  pTopOfObject is a parameter of type IPoint

ppHtMeasurement [out]

  ppHtMeasurement is a parameter of type IHeightMeasurement

Product Availability

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

See Also

IMensuration Interface