You are here: Start » AVL.NET » AVL.AlignPoint(AvlNet.Point2D, AvlNet.CoordinateSystem2D, bool, AvlNet.Point2D)

AVL.AlignPoint(AvlNet.Point2D, AvlNet.CoordinateSystem2D, bool, AvlNet.Point2D)

Moves a point from a local coordinate system to the absolute one.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void AlignPoint(
	AvlNet.Point2D inPoint,
	AvlNet.CoordinateSystem2D inAlignment,
	bool inInverse,
	out AvlNet.Point2D outPoint
)

Parameters

inPoint
Type: AvlNet.Point2D
inAlignment
Type: AvlNet.CoordinateSystem2D
Coordinate system to align to
inInverse
Type: System.Boolean
Switches to the inverse transform
outPoint
Type: 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.

Examples

AlignPoint performed on the sample point. The inAlignment is drawn on the first image in blue.

See also