Back to Aurora Vision Library Lite website

You are here: Start » Geometry 2D » Geometry 2D Spatial Transforms » AlignPointArray

AlignPointArray


Header: AVL.h
Namespace: avl

Moves an array of points from a local coordinate system to the absolute one.

Applications: Required when there are points defined in a local coordinate system, but the next image-related filter in the program does not have any inAlignment input.

Syntax

void avl::AlignPointArray
(
	const atl::Array<avl::Point2D>& inPoints,
	const avl::CoordinateSystem2D& inAlignment,
	bool inInverse,
	atl::Array<avl::Point2D>& outAlignedPoints
)

Parameters

Name Type Default Description
Input value inPoints const Array<Point2D>&
Input value inAlignment const CoordinateSystem2D& Coordinate system to align to
Input value inInverse bool Switches to the inverse transform
Output value outAlignedPoints Array<Point2D>&

In-place Processing

This function supports in-place data processing - you can pass the same reference to inPoints and outAlignedPoints

Read more about In-place Computation.