Back to FabImage Library Lite website
You are here: Start » Geometry 2D Spatial Transforms » RotateCoordinateSystem

RotateCoordinateSystem
Rotates a coordinate system around a center point.
Syntax
void fil::RotateCoordinateSystem ( const fil::CoordinateSystem2D& inCoordinateSystem, ftl::Optional<const fil::Point2D&> inCenter, float inAngle, bool inInverse, fil::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.