RescalePath
Translates each point of a path proportionally to its distance to a reference point.
Syntax
C++
Python
def RescalePath( inPath: Path, outPath: Path, /, *, inReferencePoint: Point2D | None = None, inScale: float = 1.0, inInverse: bool = False ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPath | Path | Input path | |
![]() |
inReferencePoint | Point2D | None | None | The point to which all distances change linearly (the mass center by default) |
![]() |
inScale | float | 1.0 | Scaling factor |
![]() |
inInverse | bool | False | Switches to the inverse operation |
![]() |
outPath | Path | Output path |


