You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » AVL.RotateLine3D_AroundSegment

AVL.RotateLine3D_AroundSegment

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RotateLine3D_AroundSegment
(
	AvlNet.Line3D inLine3D,
	AvlNet.Segment3D inAxisSegment,
	float inAngle,
	bool inInverse,
	out AvlNet.Line3D outLine3D
)

Parameters

Name Type Range Default Description
inLine3DAvlNet.Line3D
inAxisSegmentAvlNet.Segment3DThe rotation axis.
inAnglefloatClockwise angle of rotation.
inInverseboolSwitches to the inverse operation.
outLine3DAvlNet.Line3D

Errors

List of possible exceptions:

Error type Description
DomainError Empty segment on input in RotateLine3D_AroundSegment.
DomainError Indefinite line on input in RotateLine3D_AroundSegment.

See also