Back to Aurora Vision Library website
You are here: Start » Function Reference » Profile » Profile Basics » SkipEmptyProfile
![](../../img/icon/SkipEmpty.png)
SkipEmptyProfile
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationPro |
If the input profile contains at least one element, then it is copied to the output; otherwise Nil is returned.
Applications: Secures against domain errors caused by empty profiles, e.g. just before the ProfileAverage filter is to be invoked.
Syntax
C++
C#
void avl::SkipEmptyProfile ( const avl::Profile& inProfile, atl::Conditional<avl::Profile>& outNotEmptyProfile, bool& outIsNotEmpty )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inProfile | const Profile& | Input profile | |
![]() |
outNotEmptyProfile | Conditional<Profile>& | ||
![]() |
outIsNotEmpty | bool& |