Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » RotateArc
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Rotates an arc clockwise around center point.
Syntax
C++
C#
void fil::RotateArc ( const fil::Arc2D& inArc, ftl::Optional<const fil::Point2D&> inCenter, float inAngle, bool inInverse, fil::Arc2D& outArc )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inArc | const Arc2D& | ||
![]() |
inCenter | Optional<const Point2D&> | NIL | Center of rotation (the arc's center by default) |
![]() |
inAngle | float | Clockwise rotation angle | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outArc | Arc2D& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inArc and outArc
Read more about In-place Computation.
Examples
![]() |
![]() |
RotateArc performed on the sample arc, inCenter = Auto, inAngle = 90 and inInverse = False.