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


ILasSurface2.GetVolumeAndArea Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ILasSurface2.GetVolumeAndArea Method

Returns volume and/or area above or below an input z value.

[Visual Basic .NET]
Public Sub GetVolumeAndArea ( _
    ByVal pTrackCancel As ITrackCancel, _
    ByVal pLasFilter As ILasFilter, _
    ByVal Resolution As Double, _
    ByVal Method As esriTinPointSelectionMethod, _
    ByVal referenceHeight As Double, _
    ByVal Type As esriPlaneReferenceType, _
    ByVal ZFactor As Double, _
    ByRef pbIsOutsideDataArea As Boolean, _
    [ByRef pVolume As Object], _
    [ByRef pSurfaceArea As Object], _
    [ByRef pProjectedArea As Object] _
)
[C#]
public void GetVolumeAndArea (
    ITrackCancel pTrackCancel,
    ILasFilter pLasFilter,
    double Resolution,
    esriTinPointSelectionMethod Method,
    double referenceHeight,
    esriPlaneReferenceType Type,
    double ZFactor,
    ref bool pbIsOutsideDataArea,
    ref object pVolume,
    ref object pSurfaceArea,
    ref object pProjectedArea
);
[C++]
HRESULT GetVolumeAndArea(
  ITrackCancel* pTrackCancel,
  ILasFilter* pLasFilter,
  double Resolution,
  esriTinPointSelectionMethod Method,
  double referenceHeight,
  esriPlaneReferenceType Type,
  double ZFactor,
  Boolean* pbIsOutsideDataArea,
  Variant* pVolume,
  Variant* pSurfaceArea,
  Variant* pProjectedArea
);
[C++]

Parameters pTrackCancel [in]
pTrackCancel is a parameter of type ITrackCancel* pLasFilter [in]
pLasFilter is a parameter of type ILasFilter* Resolution [in]
Resolution is a parameter of type double Method [in]
Method is a parameter of type esriTinPointSelectionMethod referenceHeight [in]
referenceHeight is a parameter of type double Type [in]
Type is a parameter of type esriPlaneReferenceType ZFactor [in]
ZFactor is a parameter of type double pbIsOutsideDataArea [out]
pbIsOutsideDataArea is a parameter of type bool* pVolume
pVolume is a parameter of type VARIANT* pSurfaceArea
pSurfaceArea is a parameter of type VARIANT* pProjectedArea
pProjectedArea is a parameter of type VARIANT*

Product Availability

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

See Also

ILasSurface2 Interface