ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / LasDataset Class / EstimatePointCount Method
The area of interest

In This Topic
    EstimatePointCount Method
    In This Topic
    Estimates the number of points within the specified area of interest. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public double EstimatePointCount( 
       Geometry geometry
    )
    Public Function EstimatePointCount( _
       ByVal geometry As Geometry _
    ) As Double

    Parameters

    geometry
    The area of interest
    Exceptions
    ExceptionDescription
    The geometry cannot be null.
    The geometry is of the wrong type.
    A geodatabase-related exception has occurred.
    This method or property must be called within the lambda passed to QueuedTask.Run
    Remarks
    The geometry must be a ArcGIS.Core.Geometry.Polygon, an ArcGIS.Core.Geometry.Envelope or a ArcGIS.Core.Geometry.GeometryBag containing polygons or envelopes. It will be projected into the spatial reference of the LAS dataset. Z range information, if set on the input geometry, is ignored.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also