You are here: Start » AVL.NET » Function Reference » Path » Path Spatial Transforms » AVL.AlignPath

AVL.AlignPath

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void AlignPath
(
	AvlNet.Path inPath,
	AvlNet.CoordinateSystem2D inAlignment,
	bool inInverse,
	AvlNet.Path outAlignedPath
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
inAlignmentAvlNet.CoordinateSystem2DCoordinate system to align to.
inInverseboolSwitches to the inverse transform.
outAlignedPathAvlNet.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.

Examples

AlignPath run on the sample paths.

See also