Back to Aurora Vision Library website
You are here: Start » Function Reference » Basic » Box » TranslateBox
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationLite |
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 |
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.