Back to Adaptive Vision Library website

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

RotateSegment3D


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

Syntax

C++
C#
 
void avl::RotateSegment3D
(
	const avl::Segment3D& inSegment3D,
	const avl::Line3D& inAxis,
	float inAngle,
	bool inInverse,
	avl::Segment3D& outSegment3D
)

Parameters

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