Expand description
Tolerance model for geometric comparisons.
CAD kernels need well-defined tolerances for classifying geometric
relationships. Tolerance bundles linear, angular, and relative
thresholds.
The approx_eq comparison is scale-aware:
two values are equal when |a - b| <= max(linear, relative * max(|a|, |b|)).
This prevents false negatives when comparing large coordinates.
Structsยง
- Tolerance
- Tolerance thresholds for geometric comparisons.