Back to Aurora Vision Library website

You are here: Start » Function Reference » Region » Region Relations » MakeRegionConditional

MakeRegionConditional


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Computes a region feature, checks whether its value is in range and creates a conditional region on this basis.

Syntax

C++
C#
 
void avl::MakeRegionConditional
(
	const avl::Region& inRegion,
	avl::RegionFeature::Type inFeature,
	atl::Optional<float> inMinimum,
	atl::Optional<float> inMaximum,
	atl::Conditional<avl::Region>& outConditionalRegion
)

Parameters

Name Type Default Description
Input value inRegion const Region& Input region
Input value inFeature RegionFeature::Type Region 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 outConditionalRegion Conditional<Region>& The region if the condition is met or nothing otherwise