Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Spatial Transforms » RotateCoordinateSystem
RotateCoordinateSystem
Header: | AVL.h |
---|---|
Namespace: | avl |
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& |
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.