RotatePointArray


Rotates an array of points clockwise around a center point.

Syntax

C++
Python
 
def RotatePointArray(
	inPoints: list[Point2D],
	inAngle: float,
	/,
	*,
	inCenter: Point2D | None = None,
	inInverse: bool = False
)
-> outPoints: list[Point2D]

Parameters

Name Type Default Description
Input value inPoints list[Point2D]
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 outPoints list[Point2D]