RescalePointArray
Changes the distances of points from an array to a reference point.
Syntax
C++
Python
def RescalePointArray( inPoints: list[Point2D], /, *, inReferencePoint: Point2D | None = None, inScale: float = 1.0, inInverse: bool = False ) -> outPoints: list[Point2D]
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoints | list[Point2D] | ||
![]() |
inReferencePoint | Point2D | None | None | Point to which the distances will be changed (the mass center by default) |
![]() |
inScale | float | 1.0 | Scaling factor |
![]() |
inInverse | bool | False | Switches to the inverse operation |
![]() |
outPoints | list[Point2D] |


