This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISurface Interface > ISurface.GetVolume Method (ArcObjects .NET 10.5 SDK) |
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
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.