ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / LasDataset Class / GetPointByID Method / GetPointByID(Int32,Double) Method
The file index to be searched.
The ID of the point to get.

In This Topic
    GetPointByID(Int32,Double) Method
    In This Topic
    Gets the point specified by the file index and point ID. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public LasPoint GetPointByID( 
       int fileIndex,
       double pointID
    )
    Public Overloads Function GetPointByID( _
       ByVal fileIndex As Integer, _
       ByVal pointID As Double _
    ) As LasPoint

    Parameters

    fileIndex
    The file index to be searched.
    pointID
    The ID of the point to get.

    Return Value

    A LasPoint. Returns null if the file index or point Id combination cannot find a point.
    Exceptions
    ExceptionDescription
    The file index or point ID are invalid.
    This method or property must be called within the lambda passed to QueuedTask.Run
    Remarks
    To ensure maximum robustness, callers should explicitly dispose of the returned LasPoint in either a using statement or a finally block.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also