RotatePoint


Rotates a point clockwise around a center point.

Syntax

C++
Python
 
def RotatePoint(
	inPoint: Point2D,
	inCenter: Point2D,
	inAngle: float,
	/,
	*,
	inInverse: bool = False
)
-> outPoint: Point2D

Parameters

Name Type Default Description
Input value inPoint Point2D
Input value inCenter Point2D Center of rotation
Input value inAngle float Clockwise rotation angle
Input value inInverse bool False Switches to the inverse operation
Output value outPoint Point2D