ArcGIS Pro 3.6 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 double ClusteringDistance {get; set;}
    Public Property ClusteringDistance As Double
    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 = geometry;
    
    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, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also