Back to Aurora Vision Library website

You are here: Start » Function Reference » Basic » Box » SkipEmptyBox

SkipEmptyBox


Header: AVL.h
Namespace: avl
Module: FoundationLite

If the input box has both dimensions different from zero, then it is copied to the output; otherwise Nil is returned.

Applications: Secures against domain errors caused by empty boxes.

Syntax

C++
C#
 
void avl::SkipEmptyBox
(
	const avl::Box& inBox,
	atl::Conditional<avl::Box>& outNotEmptyBox,
	bool& outIsNotEmpty
)

Parameters

Name Type Default Description
Input value inBox const Box&
Output value outNotEmptyBox Conditional<Box>&
Output value outIsNotEmpty bool&