ArcGIS Pro 3.7 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 Property SearchRadius As Double
    public double SearchRadius {get; set;}
    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 = polygon;
    
      clusterFilter.SearchRadius = 0.5; // meters
      clusterFilter.MaximumNumberOfPoints = 500;
    
      var clusterSelCount = await lasDatasetLayer.SelectAsync(clusterFilter, SelectionCombinationMethod.New);
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.6 or higher.
    See Also