Back to Adaptive Vision Library website

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

RotatePoint3D


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

Syntax

C++
C#
 
void avl::RotatePoint3D
(
	const avl::Point3D& inPoint3D,
	const avl::Line3D& inAxis,
	float inAngle,
	bool inInverse,
	avl::Point3D& outPoint3D
)

Parameters

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