Slices geometry at evenly spaced intervals along a specified polyline path, producing cross-section slices perpendicular or parallel to the path direction.
More...
|
|
Vector< 2, fltp08 > | max_hv_distance = Vector<2, fltp08>(10, 30) |
| | Maximum horizontal and vertical distance from the slice plane for point inclusion.
|
|
Polyline< 3, fltp08 > | path |
| | The polyline path along which slices are generated.
|
|
bool | slice_horizontal_parallel = false |
| | Whether to generate horizontal slices parallel to the path direction.
|
|
bool | slice_orthogonal = false |
| | Whether to generate slices orthogonal to the path direction.
|
|
bool | slice_vertical_orthogonal = false |
| | Whether to generate vertical slices orthogonal to the path direction.
|
|
bool | slice_vertical_parallel = false |
| | Whether to generate vertical slices parallel to the path direction.
|
|
fltp08 | spacing = Constant<fltp08>::Invalid |
| | Distance between slice stations along the path.
|
|
Matrix< fltp08 > | transform = Matrix<fltp08>(1.0) |
| | Transformation defining the path coordinate system.
|
Slices geometry at evenly spaced intervals along a specified polyline path, producing cross-section slices perpendicular or parallel to the path direction.
Definition at line 100 of file PolylineSlicer.h.
◆ cleanupSlicePlanes()
Post-processes path-based slice planes after slicing.
- Parameters
-
| [in] | transform | The world-to-local transformation matrix used during slicing |
| [in] | planes | The slice planes to clean up (modified in place) |
Reimplemented from PolylineSliceIterator.
◆ makeCenterlinePath()
Constructs a centerline path from the input polyline, typically by resampling or smoothing to produce evenly distributed slice stations.
- Parameters
-
| [in] | path | The input polyline to derive the centerline from |
- Returns
- A new polyline representing the centerline path
References path.
◆ slicePlanes()
Generates slice planes at regular intervals along the polyline path.
- Parameters
-
| [in] | trans | The world-to-local transformation matrix |
| [in] | bounds | The 3D bounding box of the data to be sliced |
- Returns
- A buffer of SlicePlane objects positioned along the path
Implements PolylineSliceIterator.
The documentation for this class was generated from the following file: