Back to Aurora Vision Library website

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

RotateLine3D


Header: AVL.h
Namespace: avl
Module: Vision3DLite

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
Input value inLine3D const Line3D&
Input value inAxis const Line3D& The rotation axis
Input value inAngle float Clockwise angle of rotation
Input value inInverse bool Switches to the inverse operation
Output value outLine3D Line3D&

In-place Processing

This function supports in-place data processing - you can pass the same reference to inLine3D and outLine3D

Read more about In-place Computation.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite line on input in RotateLine3D.