Back to FabImage Library website
You are here: Start » Function Reference » Profile » Profile Basics » SkipEmptyProfile

SkipEmptyProfile
Header: | FIL.h |
---|---|
Namespace: | fil |
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 fil::SkipEmptyProfile ( const fil::Profile& inProfile, ftl::Conditional<fil::Profile>& outNotEmptyProfile, bool& outIsNotEmpty )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inProfile | const Profile& | Input profile | |
![]() |
outNotEmptyProfile | Conditional<Profile>& | ||
![]() |
outIsNotEmpty | bool& |