Back to Aurora Vision Library website

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

AlignCoordinateSystem


Header: AVL.h
Namespace: avl
Module: FoundationLite

Moves a nested coordinate system from its local coordinate system to the absolute one.

Applications: This filter is required e.g. when we first locate an object and then we locate its parts within it.

Syntax

C++
C#
 
void avl::AlignCoordinateSystem
(
	const avl::CoordinateSystem2D& inCoordinateSystem,
	const avl::CoordinateSystem2D& inAlignment,
	bool inInverse,
	avl::CoordinateSystem2D& outAlignedCoordinateSystem
)

Parameters

Name Type Default Description
Input value inCoordinateSystem const CoordinateSystem2D&
Input value inAlignment const CoordinateSystem2D&
Input value inInverse bool Switches to the inverse operation
Output value outAlignedCoordinateSystem CoordinateSystem2D&

In-place Processing

This function supports in-place data processing - you can pass the same reference to inCoordinateSystem and outAlignedCoordinateSystem, inAlignment and outAlignedCoordinateSystem

Read more about In-place Computation.

Remarks

Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.