Back to Aurora Vision Library website
You are here: Start » Function Reference » Basic » Box » SplitBox
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationLite |
Splits a box into two along a direction.
Syntax
C++
C#
void avl::SplitBox ( const avl::Box& inBox, const avl::SplitDirection::Type inSplitDirection, avl::Box& outBox1, avl::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. |