OpenVDB 14.0.0
Loading...
Searching...
No Matches
Tolerance< T > Struct Template Reference

Per-type tolerance used by approximate floating-point comparisons. More...

Detailed Description

template<typename T>
struct nanovdb::math::Tolerance< T >

Per-type tolerance used by approximate floating-point comparisons.

Returned by Tolerance<T>::value() and consumed by isApproxZero. Specialized for float, double, and long double. Instantiating on any other T is an "incomplete type" compile error by design — callers must opt in by adding a specialization.