Back to FabImage Library website
You are here: Start » Function Reference » Box » TranslateBox
Header: | FIL.h |
---|---|
Namespace: | fil |
Shifts a box by a discreet vector.
Syntax
C++
C#
void fil::TranslateBox ( const fil::Box& inBox, int inDeltaX, int inDeltaY, bool inInverse, fil::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.