Back to Aurora Vision Library website

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

RotatePoint3D


Header: AVL.h
Namespace: avl
Module: Vision3DLite

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,
	atl::Optional<avl::Matrix&> outTransform = atl::NIL
)

Parameters

Name Type Default Description
Input value inPoint3D const Point3D&
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 outPoint3D Point3D&
Output value outTransform Optional<Matrix&> NIL

In-place Processing

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

Read more about In-place Computation.

Optional Outputs

The computation of following outputs can be switched off by passing value atl::NIL to these parameters: outTransform.

Read more about Optional Outputs.