Back to Aurora Vision Library Lite website
You are here: Start » Path » Path Spatial Transforms » RotatePathArray
RotatePathArray
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
Rotates an array of paths clockwise around a center point.
Syntax
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 | |
|---|---|---|---|---|
![]() |
inPaths | const Array<Path>& | ||
![]() |
inCenter | Optional<const Point2D&> | NIL | Center of rotation (the mass center by default) |
![]() |
inAngle | float | Clockwise rotation angle | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
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. |


