Back to Adaptive Vision Library website

You are here: Start » Function Reference » Box » TranslateBox

TranslateBox


Shifts a box by a discreet vector.

Syntax

C++
C#
 
void avl::TranslateBox
(
	const avl::Box& inBox,
	int inDeltaX,
	int inDeltaY,
	bool inInverse,
	avl::Box& outBox
)

Parameters

Name Type Default Description
inBox const Box& Input box
inDeltaX int Shift along the x axis
inDeltaY int Shift along the y axis
inInverse bool Switches to inverse operation
outBox Box& Shifted box