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


ISurface.GetVolume Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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,
  double* pVolume
);
[C++]

Parameters reference [in] reference is a parameter of type double Type [in]
Type is a parameter of type esriPlaneReferenceType pVolume [out, retval] pVolume is a parameter of type double

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