RescalePathArray


Translates each point of each path proportionally to its distance to a reference point.

Syntax

C++
Python
 
def RescalePathArray(
	inPaths: list[Path],
	/,
	*,
	inReferencePoint: Point2D | None = None,
	inScale: float = 1.0,
	inInverse: bool = False
)
-> outPaths: list[Path]

Parameters

Name Type Default Description
Input value inPaths list[Path]
Input value inReferencePoint Point2D | None None The point to which all distances change linearly (the mass center by default)
Input value inScale float 1.0 Scaling factor
Input value inInverse bool False Switches to the inverse operation
Output value outPaths list[Path]