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


ILasPointCloud.EstimatePointSpacing Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

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,
  double* pMinSpacing,
  double* pMaxSpacing,
  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