RotatePoint3D


Rotates a 3D point around an axis in 3D.

Syntax

C++
C#
Python
 
def RotatePoint3D(
	inPoint3D: Point3D,
	inAxis: Line3D,
	inAngle: float,
	/,
	*,
	inInverse: bool = False,
	outTransform: Matrix | None = None
)
-> outPoint3D: Point3D

Parameters

Name Type Default Description
Input value inPoint3D Point3D
Input value inAxis Line3D The rotation axis
Input value inAngle float Clockwise angle of rotation
Input value inInverse bool False Switches to the inverse operation
Output value outPoint3D Point3D
Output value outTransform Matrix | None None