Function: qgsDoubleLessThanOrNear¶
- qgis.core.qgsDoubleLessThanOrNear(a: float, b: float, epsilon: float = 4 * DBL_EPSILON) bool¶
Compare two doubles to see if one is less than the other or very near to the other.
- Parameters:
a (float) – first double
b (float) – second double
epsilon (float = 4*DBL_EPSILON) – maximum tolerance when comparing near values
Added in version 4.2.
- Return type:
bool