MeasureTerrainSurface

Measures the surface area (3D measurement) of the defined region. The measurement takes into account terrain contours.

 

JavaScript

 

 

 

MeasureTerrainSurface(

       pIGeometry,

       SampleInterval)

 

C#

 

 

 

double MeasureTerrainSurface(

       IGeometry pIGeometry,

       double SampleInterval)

 

C++

 

 

 

HRESULT MeasureTerrainSurface(

       IGeometry* pIGeometry,

       double SampleInterval,

       double* pVal)

Parameters

pIGeometry

An IGeometry representing the geometric properties of the defined region.

SampleInterval

The distance between terrain sample points.

Return Value

pVal

The resulting value of the surface area measurement.           

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.