ReducePath
Reduces the number of points in a path preserving its shape with the specified precision.
Syntax
C++
C#
Python
def ReducePath( inPath: Path, outPath: Path, /, *, inMaxDistance: float = 0.5 ) -> diagIntermediatePaths: list[Path]
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inPath | Path | Input path | ||
![]() |
inMaxDistance | float | 0.0 - ![]() |
0.5 | Maximum distance between (possibly removed in the process) characteristic point of the input path and the output path. |
![]() |
outPath | Path | Reduced path | ||
![]() |
diagIntermediatePaths | list[Path] | Intermediate results on all levels of recursion of the Ramer algorithm |




