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 (point+vector) in 3D.

Syntax

C++
C#
 
void avl::RotatePoint3D
(
	const avl::Point3D& inPoint,
	const avl::Vector3D& inAxisVector,
	const avl::Point3D& inCenter,
	atl::real inAngle,
	bool inUseAxisLength,
	bool inInverse,
	avl::Point3D& outPoint
)

Parameters

Name Type Default Description
inPoint const Point3D&
inAxisVector const Vector3D& The direction vector of the rotation axis
inCenter const Point3D& An arbitrary point on the rotation axis
inAngle real Clockwise angle of rotation
inUseAxisLength bool Assume axis length to be the rotation angle, ignore inAngle (Rodrigues' Rotation)
inInverse bool Switches to the inverse operation
outPoint Point3D&