You are here: Start » AVL.NET » AVL.AlignArc(AvlNet.Arc2D, AvlNet.CoordinateSystem2D, bool, AvlNet.Arc2D)
AVL.AlignArc(AvlNet.Arc2D, AvlNet.CoordinateSystem2D, bool, AvlNet.Arc2D)
Moves an arc from a local coordinate system to the absolute one.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void AlignArc( AvlNet.Arc2D inArc, AvlNet.CoordinateSystem2D inAlignment, bool inInverse, out AvlNet.Arc2D outArc )
Parameters
- inArc
- Type: AvlNet.Arc2D
- inAlignment
- Type: AvlNet.CoordinateSystem2D
Coordinate system to align to - inInverse
- Type: System.Boolean
Switches to the inverse transform - outArc
- Type: 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.
Examples
![]() |
![]() |
AlignArc performed on the sample arc. The inAlignment is drawn on the first image in blue.


