ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasPointPlaneSelectionFilter Class / ClusteringDistance Property
Example

In This Topic
    ClusteringDistance Property
    In This Topic
    Gets and sets the cluster distance in meters. The default value is 0.2 meters.
    Syntax
    Public Property ClusteringDistance As Double
    public double ClusteringDistance {get; set;}
    Example
    Select using LasPointPlaneSelectionFilter
    {
      // must be on MCT 
    
      var planeFilter = new LasPointPlaneSelectionFilter();
      planeFilter.VisiblePoints = true;
      planeFilter.ClassCodes = new List<int>();  // empty list means all classification codes
      planeFilter.FilterGeometry = polygon;
    
      planeFilter.ClusteringDistance = 0.3; // meters
      planeFilter.MaximumDistance = 500;
      planeFilter.PlaneTolerance = 0.152; // meters
    
      var planeSelCount = await lasDatasetLayer.SelectAsync(planeFilter, SelectionCombinationMethod.New);
    }
    Requirements

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

    ArcGIS Pro version: 3.6 or higher.
    See Also