You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
inArc | AvlNet.Arc2D | ||||
inAlignment | AvlNet.CoordinateSystem2D | Coordinate system to align to. | |||
inInverse | bool | Switches to the inverse transform. | |||
outAlignedArc | AvlNet.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.