Back to Adaptive Vision Library website
You are here: Start » Function Reference » Profile Features » ProfileSections
ProfileSections
Finds subprofiles whose values fall into the specified range.
Syntax
C++
C#
void avl::ProfileSections ( const avl::Profile& inProfile, atl::Optional<float> inMinValue, atl::Optional<float> inMaxValue, atl::Array<avl::ProfileSection>& outSections, atl::Conditional<avl::ProfileSection>& outBoundingSection )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inProfile | const Profile& | Input profile | ||
inMinValue | Optional<float> | 5.0f | Lower bound for profile values | |
inMaxValue | Optional<float> | NIL | Upper bound for profile values | |
outSections | Array<ProfileSection>& | All sections that fulfill the min/max condition | ||
outBoundingSection | Conditional<ProfileSection>& | The smallest section that contains all outSections |