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

AVL.RotatePoint3D_AroundSegment

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inPoint3DAvlNet.Point3D
inAxisSegmentAvlNet.Segment3DThe rotation axis.
inAnglefloatClockwise angle of rotation.
inInverseboolSwitches to the inverse operation.
outPoint3DAvlNet.Point3D
outTransformAvlNet.NullableRef<AvlNet.Matrix> Can be null to skip this parameter calculation.

Function Overrides

See also