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

AVL.AlignCircle

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void AlignCircle
(
	AvlNet.Circle2D inCircle,
	AvlNet.CoordinateSystem2D inAlignment,
	bool inInverse,
	out AvlNet.Circle2D outAlignedCircle
)

Parameters

Name Type Range Default Description
inCircleAvlNet.Circle2D
inAlignmentAvlNet.CoordinateSystem2DCoordinate system to align to.
inInverseboolSwitches to the inverse transform.
outAlignedCircleAvlNet.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