Back to Aurora Vision Library website

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

RotatePoint3DArray_AroundSegment


Header: AVL.h
Namespace: avl
Module: Vision3DLite

Rotates an array of 3D points around a segment (the axis).

Syntax

C++
C#
 
void avl::RotatePoint3DArray_AroundSegment
(
	const atl::Array<avl::Point3D>& inPoints3D,
	const avl::Segment3D& inAxisSegment,
	float inAngle,
	bool inInverse,
	atl::Array<avl::Point3D>& outPoints3D,
	atl::Optional<avl::Matrix&> outTransform = atl::NIL
)

Parameters

Name Type Default Description
Input value inPoints3D const Array<Point3D>&
Input value inAxisSegment const Segment3D& The rotation axis
Input value inAngle float Clockwise angle of rotation
Input value inInverse bool Switches to the inverse operation
Output value outPoints3D Array<Point3D>&
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.