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

AVL.RotatePlane_AroundSegment

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RotatePlane_AroundSegment
(
	AvlNet.Plane3D inPlane,
	AvlNet.Segment3D inAxisSegment,
	float inAngle,
	bool inInverse,
	out AvlNet.Plane3D outPlane
)

Parameters

Name Type Range Default Description
inPlaneAvlNet.Plane3D
inAxisSegmentAvlNet.Segment3DThe rotation axis.
inAnglefloatClockwise angle of rotation.
inInverseboolSwitches to the inverse operation.
outPlaneAvlNet.Plane3D

Errors

List of possible exceptions:

Error type Description
DomainError Empty segment on input in RotatePlane_AroundSegment.
DomainError Indefinite plane on input in RotatePlane_AroundSegment.

See also