You are here: Start » AVL.NET » AVL.AlignPath Method
AVL.AlignPath Method
Moves a path from a local coordinate system to the absolute one.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void AlignPath( AvlNet.Path inPath, AvlNet.CoordinateSystem2D inAlignment, bool inInverse, out AvlNet.Path outAlignedPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPath | AvlNet.Path | Input path. | |||
inAlignment | AvlNet.CoordinateSystem2D | Coordinate system to align to. | |||
inInverse | bool | Switches to the inverse transform. | |||
outAlignedPath | AvlNet.Path |
Description
AlignPath aligns the inPath to the inAlignment coordinate system. The input path is translated, rotated and scaled.
The inAlignment is usually an alignment of an object found by some template matching algorithm.