MathComparisonUtils.IsAlmostZero Method

MathComparisonUtilsIsAlmostZero Method

Checks if value is almost zero, using the internal tolerance.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static bool IsAlmostZero(
	double value
)
Public Shared Function IsAlmostZero ( 
	value As Double
) As Boolean
public:
static bool IsAlmostZero(
	double value
)
static member IsAlmostZero : 
        value : float -> bool 

Parameters

value  Double
The value to check.

Return Value

Boolean
True if value is almost zero, false otherwise.
Exceptions
ExceptionCondition
ArgumentException The given value for value is not finite
See Also