Compression oracle based on absolute difference.
More...
#include <CreateNanoGrid.h>
Compression oracle based on absolute difference.
Definition at line 230 of file CreateNanoGrid.h.
nanovdb::AbsDiff::AbsDiff |
( |
float |
tolerance = -1.0f | ) |
|
|
inline |
- Note
- The default value of -1 means it's un-initialized!
Definition at line 235 of file CreateNanoGrid.h.
nanovdb::AbsDiff::AbsDiff |
( |
const AbsDiff & |
| ) |
|
|
default |
nanovdb::AbsDiff::~AbsDiff |
( |
| ) |
|
|
default |
float nanovdb::AbsDiff::getTolerance |
( |
| ) |
const |
|
inline |
nanovdb::AbsDiff::operator bool |
( |
| ) |
const |
|
inline |
bool nanovdb::AbsDiff::operator() |
( |
float |
exact, |
|
|
float |
approx |
|
) |
| const |
|
inline |
Return true if the approximate value is within the accepted absolute error bounds of the exact value.
Required member method
Definition at line 255 of file CreateNanoGrid.h.
void nanovdb::AbsDiff::setTolerance |
( |
float |
tolerance | ) |
|
|
inline |
The documentation for this class was generated from the following file: