Back to FabImage Library website
You are here: Start » Function Reference » Path » Path Classification » MakePathConditional
MakePathConditional
| Header: | FIL.h |
|---|---|
| Namespace: | fil |
| Module: | FoundationBasic |
Computes a path feature, checks whether its value is in range and creates a conditional path on this basis.
Syntax
C++
C#
void fil::MakePathConditional ( const fil::Path& inPath, fil::PathFeature::Type inFeature, ftl::Optional<float> inMinimum, ftl::Optional<float> inMaximum, ftl::Conditional<fil::Path>& outConditionalPath )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPath | const Path& | Input path | |
![]() |
inFeature | PathFeature::Type | Path feature value to be computed | |
![]() |
inMinimum | Optional<float> | NIL | Lowest value of the range |
![]() |
inMaximum | Optional<float> | NIL | Highest value of the range |
![]() |
outConditionalPath | Conditional<Path>& | The path if the condition is met or nothing otherwise |


