Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D Spatial Transforms » RotateArc

RotateArc


Rotates an arc clockwise around center point.

Syntax

C++
C#
 
void avl::RotateArc
(
	const avl::Arc2D& inArc,
	atl::Optional<const avl::Point2D&> inCenter,
	float inAngle,
	bool inInverse,
	avl::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&

Examples

RotateArc performed on the sample arc, inCenter = Auto, inAngle = 90 and inInverse = False.