OpenVDB
9.0.1
|
Compression oracle based on relative difference. More...
#include <nanovdb/util/GridBuilder.h>
Public Member Functions | |
RelDiff (float tolerance=-1.0f) | |
RelDiff (const RelDiff &)=default | |
void | setTolerance (float tolerance) |
float | getTolerance () const |
bool | operator() (float exact, float approx) const |
Return true if the approximate value is within the accepted relative error bounds of the exact value. More... | |
Compression oracle based on relative difference.
|
inline |
|
inline |
|
inline |
Return true if the approximate value is within the accepted relative error bounds of the exact value.
Required member method
|
inline |