You are here: Start » AVL.NET » AVL.AlignPoint
Moves a point from a local coordinate system to the absolute one.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void AlignPoint ( AvlNet.Point2D inPoint, AvlNet.CoordinateSystem2D inAlignment, bool inInverse, out AvlNet.Point2D outAlignedPoint )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint | AvlNet.Point2D | ||||
inAlignment | AvlNet.CoordinateSystem2D | Coordinate system to align to. | |||
inInverse | bool | Switches to the inverse transform. | |||
outAlignedPoint | AvlNet.Point2D |
Description
AlignPoint aligns the inPoint to the inAlignment coordinate system. The input point is translated, rotated and scaled.
The inAlignment is usually a coordinate system found by some template matching algorithm.