Click or drag to resize

UtilGE Method (Double, Double, Double)

Test if a is greater than or equal to b (within e tolerance)

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static bool GE(
	double a,
	double b,
	double e
)

Parameters

a
Type: SystemDouble
First value
b
Type: SystemDouble
Second value
e
Type: SystemDouble
Epsilon for test

Return Value

Type: Boolean
Logical result of comparing a and b
Remarks
Use for floating point comparisons (e.g. "1.0f/3" greater than "1.0/3" returns true, but logically it should be false)
See Also