Back to Adaptive Vision Library Lite website
You are here: Start » Geometry 2D Spatial Transforms » RotateCoordinateSystem
![](../../img/icon/RotateCoordinateSystem.png)
RotateCoordinateSystem
Rotates a coordinate system around a center point.
Syntax
void avl::RotateCoordinateSystem ( const avl::CoordinateSystem2D& inCoordinateSystem, atl::Optional<const avl::Point2D&> inCenter, float inAngle, bool inInverse, avl::CoordinateSystem2D& outCoordinateSystem )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inCoordinateSystem | const CoordinateSystem2D& | ||
![]() |
inCenter | Optional<const Point2D&> | NIL | Center of rotation (the coordinate system's center by default) |
![]() |
inAngle | float | Clockwise rotation angle | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outCoordinateSystem | CoordinateSystem2D& |
Remarks
Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.