RotatePoint3D_AroundSegment


Rotates a 3D point around a segment (the axis).

Syntax

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

Parameters

Name Type Default Description
Input value inPoint3D Point3D
Input value inAxisSegment Segment3D 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