ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasPointClusterSelectionFilter Class / SearchRadius Property
Example

In This Topic
    SearchRadius Property (LasPointClusterSelectionFilter)
    In This Topic
    Gets and sets the search radius in meters. The default value is 0.2 meters.
    Syntax
    public double SearchRadius {get; set;}
    Public Property SearchRadius As Double
    Remarks
    This is the maximum distance that points can be between one another before the selection stops.
    Example
    Select using LasPointClusterSelectionFilter
    // must be on MCT 
    
    var clusterFilter = new LasPointClusterSelectionFilter();
    clusterFilter.VisiblePoints = true;
    clusterFilter.ClassCodes = new List<int>();  // empty list means all classification codes
    clusterFilter.FilterGeometry = geometry;
    
    clusterFilter.SearchRadius = 0.5; // meters
    clusterFilter.MaximumNumberOfPoints = 500;
    
    var clusterSelCount = await lasDatasetLayer.SelectAsync(clusterFilter, SelectionCombinationMethod.New);
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also