RotatePath


Rotates a path clockwise around a center point.

Syntax

C++
Python
 
def RotatePath(
	inPath: Path,
	inAngle: float,
	outPath: Path,
	/,
	*,
	inCenter: Point2D | None = None,
	inInverse: bool = False
)
-> None

Parameters

Name Type Default Description
Input value inPath Path Input path
Input value inCenter Point2D | None None Center of rotation (the mass center by default)
Input value inAngle float Clockwise rotation angle
Input value inInverse bool False Switches to the inverse operation
Output value outPath Path Output path