ArcGIS Pro 3.7 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 Property RailThickness As Double
    public double RailThickness {get; set;}
    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 = polygon;
    
      // 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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.6 or higher.
    See Also