Back to Aurora 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
Input value inGrid const Point3DGrid&
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 outGrid Point3DGrid&
Output value 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 is optimized for NEON technology.

This operation supports automatic parallelization for multicore and multiprocessor systems.