Back to Adaptive Vision Library website

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

RotateCircle3D


Header:AVL.h
Namespace:avl

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

Syntax

C++
C#
 
void avl::RotateCircle3D
(
	const avl::Circle3D& inCircle3D,
	const avl::Line3D& inAxis,
	float inAngle,
	bool inInverse,
	avl::Circle3D& outCircle3D
)

Parameters

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

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite circle on input in RotateCircle3D.
DomainError Indefinite line on input in RotateCircle3D.