Back to Adaptive Vision Library website

You are here: Start » Function Reference » Path » Path Classification » MakePathConditional

MakePathConditional


Header: AVL.h
Namespace: avl
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 avl::MakePathConditional
(
	const avl::Path& inPath,
	avl::PathFeature::Type inFeature,
	atl::Optional<float> inMinimum,
	atl::Optional<float> inMaximum,
	atl::Conditional<avl::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