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
Input value
inPath const Path& Input path
Input value
inFeature PathFeature::Type Path feature value to be computed
Input value
inMinimum Optional<float> NIL Lowest value of the range
Input value
inMaximum Optional<float> NIL Highest value of the range
Output value
outConditionalPath Conditional<Path>& The path if the condition is met or nothing otherwise