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

RotateCircle
Rotates a circle clockwise around a center point.
Syntax
void fil::RotateCircle ( const fil::Circle2D& inCircle, const fil::Point2D& inCenter, float inAngle, bool inInverse, fil::Circle2D& outCircle )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inCircle | const Circle2D& | ||
![]() |
inCenter | const Point2D& | Center of rotation | |
![]() |
inAngle | float | Clockwise rotation angle | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outCircle | Circle2D& |
Examples
![]() |
![]() |
RotateCircle performed on the sample circle, inCenter = (173.0, 163.0), inAngle = 180.0 and inInverse = False. The inCenter point is drawn on the first image in blue