Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Spatial Transforms » RotatePathArray
RotatePathArray
Rotates an array of paths clockwise around a center point.
Header: | AVL.h |
---|
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 | |
---|---|---|---|---|
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