Smoothen Linear Element
Smoothen Linear Element tool can be used to smooth linear elements with a high vertex density. It has been developed to smoothen automatically extracted rail lines created by the Find rails tool of TerraScan. However, it may be used for any linear element. The smoothing is done by fitting vertices to an average line or circular arcs within a given distance.
To smooth linear element(s):
1. Select element(s) to smooth.
2. Select the Smoothen Linear Element tool.
The Smoothen Linear Element dialog opens:
3. Define settings.
4. Accept element(s) with a data click.
All selected element(s) are smoothed.
Setting |
Effect |
---|---|
Method |
Determines the smoothening method: •Smoothen current vertices - based on line fitting equation. •Add vertices at spacing - based on B-Spline curvature. •Add vertices by turn angle - based on B-Spline curvature. The method is best suited for creating smooth-looking turns with a small radius. |
Modify |
Element dimension to modify in the smooth process: •Xyz - horizontal and vertical variation of vertices is modified. •Xy - only horizontal dimension. The vertical variation of vertices is not modified. •Z - only vertical dimension. The horizontal dimension of vertices is not modified. This is only active if Method is set to Smoothen current vertices. |
Average |
Forward/Backward distance for the fitting algorithm. Within this distance the vertices are fitted to an average line or circular arc. This is only active if Method is set to Smoothen current vertices. |
Spacing |
Distance between consecutive vertices along the smoothed element. This is only active if Method is set to Add vertices at spacing. |
Max turn |
Maximum angle between consecutive line segments along the smoothed element. This is only active if Method is set to Add vertices by turn angle. |