ArcObjects Library Reference (GeoDatabase)  

ISurface.GetSurfaceArea Method

Returns the area measured on its surface above or below an input z value.

[Visual Basic .NET]
Public Function GetSurfaceArea ( _
    ByVal referenceHeight As Double, _
    ByVal Type As esriPlaneReferenceType _
) As Double
[C#]
public double GetSurfaceArea (
    double referenceHeight,
    esriPlaneReferenceType Type
);
[C++]
HRESULT GetSurfaceArea(
  double referenceHeight,
  esriPlaneReferenceType Type,
  double* pArea
);
[C++]

Parameters

referenceHeight [in]   referenceHeight is a parameter of type double Type [in]

  Type is a parameter of type esriPlaneReferenceType

pArea [out, retval]   pArea is a parameter of type double

Product Availability

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

Description

Returns the 3D area of the surface relative to a specified reference plane. The area is measured along the slope of a surface, taking height into consideration. The surface area will always be greater than the 2D planimetric extent of the model (unless the surface is flat).

The plane used in the calculation is horizontal and is therefore defined simply by height. You indicate the height and whether the area is to be calculated above or below it.

See Also

ISurface Interface