Back to Adaptive Vision Library website

You are here: Start » Function Reference » Surface Basics » SkipEmptySurface

SkipEmptySurface


If the input Surface has at least one point defined, then it is copied to the output; otherwise Nil is returned.

Header:AVL.h

Syntax

C++
C#
 
void avl::SkipEmptySurface
(
	const avl::Surface& inSurface,
	atl::Conditional<avl::Surface>& outNotEmptySurface,
	bool& outIsNotEmpty
)

Parameters

Name Type Default Description
inSurface const Surface& Input surface
outNotEmptySurface Conditional<Surface>& A copy of the input surface, if it is not empty, or Nil otherwise
outIsNotEmpty bool& Indication if the input surface is not empty