Back to Aurora Vision Library website

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

RotateArc


Header: AVL.h
Namespace: avl
Module: FoundationLite

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
Input value inArc const Arc2D&
Input value inCenter Optional<const Point2D&> NIL Center of rotation (the arc's center by default)
Input value inAngle float Clockwise rotation angle
Input value inInverse bool Switches to the inverse operation
Output value 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.