You are here: Start » AVL.NET » AVL.AlignSegment(AvlNet.Segment2D, AvlNet.CoordinateSystem2D, bool, AvlNet.Segment2D)
AVL.AlignSegment(AvlNet.Segment2D, AvlNet.CoordinateSystem2D, bool, AvlNet.Segment2D)
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void AlignSegment( AvlNet.Segment2D inSegment, AvlNet.CoordinateSystem2D inAlignment, bool inInverse, out AvlNet.Segment2D outSegment )
Parameters
- inSegment
- Type: AvlNet.Segment2D
- inAlignment
- Type: AvlNet.CoordinateSystem2D
- inInverse
- Type: System.Boolean
- outSegment
- Type: AvlNet.Segment2D
Description
AlignSegment aligns the inSegment to the inAlignment coordinate system. The input segment is translated, rotated and scaled.
The inAlignment is usually a coordinate system found by some template matching algorithm.
Examples
![]() |
![]() |
AlignSegment performed on the sample segment. The inAlignment is drawn on the first image in blue.


