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


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

ISurface.GetVolume Method

Returns the volume above or below an input z value.

[Visual Basic .NET]
Public Function GetVolume ( _
    ByVal reference As Double, _
    ByVal Type As esriPlaneReferenceType _
) As Double
[C#]
public double GetVolume (
    double reference,
    esriPlaneReferenceType Type
);
[C++]
HRESULT GetVolume(
  double reference,
  esriPlaneReferenceType Type
);
[C++]
Parameters
reference [in]

reference is a parameter of type double Type [in]
Type is a parameter of type esriPlaneReferenceType

Product Availability

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

Description

Calculates the cubic space between the TIN surface and a horizontal plane located at the specified elevation.

If you choose to calculate volume above the plane, the area of consideration is that which is above the plane and the underside of the surface. If you choose below the plane the area of consideration is below the plane and the topside of the surface.

See Also

ISurface Interface