Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 3D Spatial Transforms » RotateLine3D

RotateLine3D


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

Syntax

C++
C#
 
void avl::RotateLine3D
(
	const avl::Line3D& inLine3D,
	const avl::Line3D& inAxis,
	float inAngle,
	bool inInverse,
	avl::Line3D& outLine3D
)

Parameters

Name Type Default Description
inLine3D const Line3D&
inAxis const Line3D& The rotation axis
inAngle float Clockwise angle of rotation
inInverse bool Switches to the inverse operation
outLine3D Line3D&