Back to Aurora Vision Library Lite website
You are here: Start » Basic » Box » TranslateBox
![](../../img/icon/Box.png)
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 | |
---|---|---|---|---|
![]() |
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 |
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.