Back to Aurora Vision Library website
You are here: Start » Function Reference » Surface » Surface Basics » SkipEmptySurface
SkipEmptySurface
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DStandard |
If the input Surface has at least one point defined, then it is copied to the output; otherwise Nil is returned.
Applications: Secures against domain errors caused by empty surfaces, e.g. just before the FitPlaneToSurface filter is to be invoked.
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 |