Back to FabImage Library website

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

TranslateCoordinateSystem


Header: FIL.h
Namespace: fil
Module: FoundationLite

Translates a coordinate system by a vector.

Syntax

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

Parameters

Name Type Default Description
Input value inCoordinateSystem const CoordinateSystem2D&
Input value inDelta const Vector2D& Translation vector
Input value inInverse bool Switches to the inverse operation
Output value 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.