Back to Aurora Vision Library Lite website

You are here: Start » Basic » Box » SkipEmptyBox

SkipEmptyBox


Header: AVL.h
Namespace: avl

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

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&