Back to Adaptive Vision Library website

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

AlignPointArray


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

Syntax

C++
C#
 
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
inPoints const Array<Point2D>&
inAlignment const CoordinateSystem2D& Coordinate system to align to
inInverse bool Switches to the inverse transform
outAlignedPoints Array<Point2D>&

In-place Processing

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