Back to Aurora Vision Library Lite website

You are here: Start » Basic » Box » TranslateBox

TranslateBox


Header: AVL.h
Namespace: avl

Shifts a box by a discreet vector.

Syntax

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

Parameters

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

In-place Processing

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

Read more about In-place Computation.