ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / LasDataset Class / EstimatePointSpacing Method
The envelope. It will be projected into the spatial reference of the LAS dataset.

In This Topic
    EstimatePointSpacing Method
    In This Topic
    Gets the minimum, maximum, and mean point spacing estimates based on the LAS files whose extents intersect the envelope. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public ValueTuple<double,double,double> EstimatePointSpacing( 
       Envelope envelope
    )
    Public Function EstimatePointSpacing( _
       ByVal envelope As Envelope _
    ) As ValueTuple(Of Double,Double,Double)

    Parameters

    envelope
    The envelope. It will be projected into the spatial reference of the LAS dataset.

    Return Value

    The minimum, maximum and mean point spacing.
    Exceptions
    ExceptionDescription
    envelope cannot be null.
    A geodatabase-related exception has occurred.
    This method or property must be called within the lambda passed to QueuedTask.Run
    Remarks
    If only one file is within the extent then the minimum, maximum, and mean values will be the same. If multiple files are intersected the minimum is set to the file with the smallest spacing, maximum 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.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also