Back to FabImage Library Lite website
You are here: Start » Basic » Box » SplitBox
SplitBox
| Header: | FIL.h |
|---|---|
| Namespace: | fil |
Splits a box into two along a direction.
Syntax
void fil::SplitBox ( const fil::Box& inBox, const fil::SplitDirection::Type inSplitDirection, fil::Box& outBox1, fil::Box& outBox2 )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inBox | const Box& | ||
![]() |
inSplitDirection | const SplitDirection::Type | ||
![]() |
outBox1 | Box& | ||
![]() |
outBox2 | Box& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inBox and outBox1, inBox and outBox2
Read more about In-place Computation.
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Unknown split direction in SplitBox. |


