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

AVL.RotateCircle3D_AroundSegment

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RotateCircle3D_AroundSegment
(
	AvlNet.Circle3D inCircle3D,
	AvlNet.Segment3D inAxisSegment,
	float inAngle,
	bool inInverse,
	out AvlNet.Circle3D outCircle3D
)

Parameters

Name Type Range Default Description
inCircle3DAvlNet.Circle3D
inAxisSegmentAvlNet.Segment3DThe rotation axis.
inAnglefloatClockwise angle of rotation.
inInverseboolSwitches to the inverse operation.
outCircle3DAvlNet.Circle3D

Errors

List of possible exceptions:

Error type Description
DomainError Empty segment on input in RotateCircle3D_AroundSegment.
DomainError Indefinite circle on input in RotateCircle3D_AroundSegment.

See also