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

AVL.RotateSegment3D

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RotateSegment3D
(
	AvlNet.Segment3D inSegment3D,
	AvlNet.Line3D inAxis,
	float inAngle,
	bool inInverse,
	out AvlNet.Segment3D outSegment3D
)

Parameters

Name Type Range Default Description
inSegment3DAvlNet.Segment3D
inAxisAvlNet.Line3DThe rotation axis.
inAnglefloatClockwise angle of rotation.
inInverseboolSwitches to the inverse operation.
outSegment3DAvlNet.Segment3D

See also