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


ILasPointCloud.EstimatePointSpacing Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILasPointCloud Interface > ILasPointCloud.EstimatePointSpacing Method
ArcGIS Developer Help

ILasPointCloud.EstimatePointSpacing Method

Estimate point spacing.

[Visual Basic .NET]
Public Sub EstimatePointSpacing ( _
    ByVal pAOI As IEnvelope, _
    ByRef pMinSpacing As Double, _
    ByRef pMaxSpacing As Double, _
    ByRef pMeanSpacing As Double _
)
[C#]
public void EstimatePointSpacing (
    IEnvelope pAOI,
    ref double pMinSpacing,
    ref double pMaxSpacing,
    ref double pMeanSpacing
);
[C++]
HRESULT EstimatePointSpacing(
  IEnvelope* pAOI,
  System.Double* pMinSpacing,
  System.Double* pMaxSpacing,
  System.Double* pMeanSpacing
);
[C++]
Parameters
pAOI [in]

pAOI is a parameter of type IEnvelope* pMinSpacing [out]
pMinSpacing is a parameter of type double* pMaxSpacing [out]
pMaxSpacing is a parameter of type double* pMeanSpacing [out]
pMeanSpacing is a parameter of type double*

Product Availability

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

Description

Returns min, max, and mean point spacing estimates based on the LAS files whose extents intersect the passed envelope. If only one file is within the extent then min, max, and mean will be the same. If multiple files are intersected the min is set to the file with the smallest spacing, max to the one with the largest, and mean is based on estimating the total points within the envelope.

Point spacing estimates at this level (i.e., the dataset) are based on estimates made per LAS file. They'll be more reliable if statistics for the LAS dataset have been calculated (see ILasDatasetEdit.CalculateStatistics and ILasFile.HasStatistics).

See Also

ILasPointCloud Interface