Back to FabImage Library website

You are here: Start » Function Reference » Profile » Profile Relations » TestProfileDominatesProfile

TestProfileDominatesProfile


Header: FIL.h
Namespace: fil
Module: FoundationPro

Checks whether values in the first profile are greater or equal than corresponding values in the second profile.

Syntax

C++
C#
 
void fil::TestProfileDominatesProfile
(
	const fil::Profile& inProfile1,
	const fil::Profile& inProfile2,
	bool& outDominates
)

Parameters

Name Type Default Description
Input value inProfile1 const Profile& Input profile1
Input value inProfile2 const Profile& Input profile2
Output value outDominates bool&

Errors

List of possible exceptions:

Error type Description
DomainError Input profiles have different lengths in TestProfileDominatesProfile.
DomainError Input profiles have different X coordinates in TestProfileDominatesProfile.