Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Spatial Transforms » RotateCoordinateSystem
Rotates a coordinate system around a center point.
Syntax
C++
C#
void avl::RotateCoordinateSystem ( const avl::CoordinateSystem2D& inCoordinateSystem, atl::Optional<const avl::Point2D&> inCenter, atl::real 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 | real | 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.


