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

AVL.AlignArc

Moves an arc from a local coordinate system to the absolute one.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void AlignArc
(
	AvlNet.Arc2D inArc,
	AvlNet.CoordinateSystem2D inAlignment,
	bool inInverse,
	out AvlNet.Arc2D outAlignedArc
)

Parameters

Name Type Range Default Description
inArcAvlNet.Arc2D
inAlignmentAvlNet.CoordinateSystem2DCoordinate system to align to.
inInverseboolSwitches to the inverse transform.
outAlignedArcAvlNet.Arc2D

Description

AlignArc aligns the inArc to the inAlignment coordinate system. The input arc is translated, rotated and scaled.

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

Examples

AlignArc performed on the sample arc. The inAlignment is drawn on the first image in blue.

See also