Back to Adaptive Vision Library website

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

AlignCircle


Moves a circle from a local coordinate system to the absolute one.

Syntax

C++
C#
 
void avl::AlignCircle
(
	const avl::Circle2D& inCircle,
	const avl::CoordinateSystem2D& inAlignment,
	bool inInverse,
	avl::Circle2D& outAlignedCircle
)

Parameters

Name Type Default Description
inCircle const Circle2D&
inAlignment const CoordinateSystem2D& Coordinate system to align to
inInverse bool Switches to the inverse transform
outAlignedCircle Circle2D&

Description

AlignCircle aligns the inCircle to the inAlignment coordinate system. The input circle is translated, rotated and scaled.

The inAlignment is usually a coordinate system found by some template matching algorithm.

Examples

AlignCircle performed on the sample circle. The inAlignment is drawn on the first image in blue.

See Also