Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » RotateCoordinateSystem
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Rotates a coordinate system around a center point.
Syntax
C++
C#
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& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inCoordinateSystem and outCoordinateSystem
Read more about In-place Computation.
Remarks
Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.