Back to Adaptive Vision Library website
You are here: Start » Function Reference » Box » SplitBox
Splits a box into two along a direction.
Header: | AVL.h |
---|
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& |
Errors
Error type | Description |
---|---|
DomainError | Unknown inSplitDirection |