RotateLine


Rotates a line clockwise around a center point.

Syntax

C++
Python
 
def RotateLine(
	inLine: Line2D,
	inCenter: Point2D,
	inAngle: float,
	/,
	*,
	inInverse: bool = False
)
-> outLine: Line2D

Parameters

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