Back to Aurora Vision Library website

You are here: Start » Function Reference » Path » Path Spatial Transforms » RotatePathArray

RotatePathArray


Header: AVL.h
Namespace: avl
Module: FoundationLite

Rotates an array of paths clockwise around a center point.

Syntax

C++
C#
 
void avl::RotatePathArray
(
	const atl::Array<avl::Path>& inPaths,
	atl::Optional<const avl::Point2D&> inCenter,
	float inAngle,
	bool inInverse,
	atl::Array<avl::Path>& outPaths
)

Parameters

Name Type Default Description
Input value inPaths const Array<Path>&
Input value inCenter Optional<const Point2D&> NIL Center of rotation (the mass center by default)
Input value inAngle float Clockwise rotation angle
Input value inInverse bool Switches to the inverse operation
Output value outPaths Array<Path>&

In-place Processing

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

Read more about In-place Computation.

Errors

List of possible exceptions:

Error type Description
DomainError Center of rotation cannot be computed in RotatePathArray.