You are here: Start » AVL.NET » Invoke.RotatePoint3D_AroundSegment

Invoke.RotatePoint3D_AroundSegment

Rotates a 3D point around a segment (the axis).

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void RotatePoint3D_AroundSegment
(
	Avl.Point3D inPoint3D,
	Avl.Segment3D inAxisSegment,
	float inAngle,
	bool inInverse,
	out Avl.Point3D outPoint3D,
	Optional<Avl.Matrix> outTransform
)

Parameters

Name Type Range Default Description
inPoint3DAvl.Point3D
inAxisSegmentAvl.Segment3DThe rotation axis.
inAnglefloatClockwise angle of rotation.
inInverseboolSwitches to the inverse operation.
outPoint3DAvl.Point3D
outTransformAtl.Optional<Avl.Matrix>

See also