RotateLine3D_AroundSegment


Rotates a line in 3D around a segment (the axis) in 3D.

Syntax

C++
C#
Python
 
def RotateLine3D_AroundSegment(
	inLine3D: Line3D,
	inAxisSegment: Segment3D,
	inAngle: float,
	/,
	*,
	inInverse: bool = False
)
-> outLine3D: Line3D

Parameters

Name Type Default Description
Input value inLine3D Line3D
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 outLine3D Line3D