Back to Aurora Vision Library website

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


Header: AVL.h
Namespace: avl
Module: FoundationLite

Rotates a circle clockwise around a center point.


void avl::RotateCircle
	const avl::Circle2D& inCircle,
	const avl::Point2D& inCenter,
	float inAngle,
	bool inInverse,
	avl::Circle2D& outCircle


Name Type Default Description
Input value
inCircle const Circle2D&
Input value
inCenter const Point2D& Center of rotation
Input value
inAngle float Clockwise rotation angle
Input value
inInverse bool Switches to the inverse operation
Output value
outCircle Circle2D&

In-place Processing

This function supports in-place data processing - you can pass the same reference to inCircle and outCircle

Read more about In-place Computation.


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