Back to Adaptive Vision Library website

You are here: Start » Function Reference » Real » TestDoubleEqualTo

TestDoubleEqualTo


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Checks whether two doubles are equal.

Syntax

void avl::TestDoubleEqualTo
(
	const double& inValue,
	const double& inReferenceValue,
	const double& inEpsilon,
	bool& outIsEqual
)

Parameters

Name Type Default Description
inValue const double&
inReferenceValue const double&
inEpsilon const double& 0.001D Maximum difference of values that are still considered equal
outIsEqual bool&