RotateCoordinateSystem


Rotates a coordinate system around a center point.

Syntax

C++
Python
 
def RotateCoordinateSystem(
	inCoordinateSystem: CoordinateSystem2D,
	inAngle: float,
	/,
	*,
	inCenter: Point2D | None = None,
	inInverse: bool = False
)
-> outCoordinateSystem: CoordinateSystem2D

Parameters

Name Type Default Description
Input value inCoordinateSystem CoordinateSystem2D
Input value inCenter Point2D | None None Center of rotation (the coordinate system's center by default)
Input value inAngle float Clockwise rotation angle
Input value inInverse bool False Switches to the inverse operation
Output value outCoordinateSystem CoordinateSystem2D