Back to Adaptive Vision Library website

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

RotateCircle


Rotates a circle clockwise around a center point.

Syntax

C++
C#
 
void avl::RotateCircle
(
	const avl::Circle2D& inCircle,
	const avl::Point2D& inCenter,
	float inAngle,
	bool inInverse,
	avl::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