Back to Adaptive Vision Library website

You are here: Start » Function Reference » Point3DGrid » Point3DGrid Spatial Transforms » RotatePoint3DGrid

RotatePoint3DGrid


Header: AVL.h
Namespace: avl
Module: Vision3DLite

Rotates a grid of 3D points around an axis in 3D.

Syntax

C++
C#
 
void avl::RotatePoint3DGrid
(
	const avl::Point3DGrid& inGrid,
	const avl::Line3D& inAxis,
	float inAngle,
	bool inInverse,
	avl::Point3DGrid& outGrid,
	atl::Optional<avl::Matrix&> outTransform = atl::NIL
)

Parameters

Name Type Default Description
inGrid const Point3DGrid&
inAxis const Line3D& The rotation axis
inAngle float Clockwise angle of rotation
inInverse bool Switches to the inverse operation
outGrid Point3DGrid&
outTransform Optional<Matrix&> NIL

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.

Hardware Acceleration

This operation is optimized for SSE41 technology.

This operation is optimized for AVX2 technology.

This operation supports automatic parallelization for multicore and multiprocessor systems.