Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Spatial Transforms » RotatePoint
RotatePoint
Header: | AVL.h |
---|---|
Namespace: | avl |
Rotates a point clockwise around a center point.
Syntax
void avl::RotatePoint ( const avl::Point2D& inPoint, const avl::Point2D& inCenter, float inAngle, bool inInverse, avl::Point2D& outPoint )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPoint | const Point2D& | |||
inCenter | const Point2D& | Center of rotation | ||
inAngle | float | Clockwise rotation angle | ||
inInverse | bool | Switches to the inverse operation | ||
outPoint | Point2D& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inPoint and outPoint, inCenter and outPoint
Read more about In-place Computation.