Back to Adaptive 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
inCoordinateSystem const CoordinateSystem2D&
inAlignment const CoordinateSystem2D&
inInverse bool Switches to the inverse operation
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.