ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasPointRailSelectionFilter Class / RailThickness Property
Example

In This Topic
    RailThickness Property
    In This Topic
    Gets and sets the rail thickness in meters. This limits the search distance to the left and right along the rail. The default value is 0.1 meters.
    Syntax
    public double RailThickness {get; set;}
    Public Property RailThickness As Double
    Example
    Select using LasPointRailSelectionFilter
    // must be on MCT 
    
    var railFilter = new LasPointRailSelectionFilter();
    railFilter.VisiblePoints = true;
    railFilter.ClassCodes = new List<int>();  // empty list means all classification codes
    railFilter.FilterGeometry = geometry;
    
    // configure a few of the properties and accept defaults for others
    railFilter.SearchRadius = 0.5; // meters
    railFilter.RailThickness = 0.2; // meters
    railFilter.MaximumLength = 225; // meters
    
    var railSelCount = await lasDatasetLayer.SelectAsync(railFilter, SelectionCombinationMethod.New);
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also