You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » AVL.AlignPoint

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
inPointAvlNet.Point2D
inAlignmentAvlNet.CoordinateSystem2DCoordinate system to align to.
inInverseboolSwitches to the inverse transform.
outAlignedPointAvlNet.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