Back to Adaptive Vision Library website

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

TranslateCoordinateSystem


Header:AVL.h
Namespace:avl

Translates a coordinate system by a vector.

Syntax

C++
C#
 
void avl::TranslateCoordinateSystem
(
	const avl::CoordinateSystem2D& inCoordinateSystem,
	const avl::Vector2D& inDelta,
	bool inInverse,
	avl::CoordinateSystem2D& outCoordinateSystem
)

Parameters

Name Type Default Description
inCoordinateSystem const CoordinateSystem2D&
inDelta const Vector2D& Translation vector
inInverse bool Switches to the inverse operation
outCoordinateSystem CoordinateSystem2D&

In-place Processing

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

Read more about In-place Computation.

Remarks

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