casacore
|
Functor to test if two values are relatively near each other. More...
#include <Functors.h>
Public Member Functions | |
Near (double tolerance=1e-5) | |
bool | operator() (L left, R right) const |
Private Attributes | |
double | itsTolerance |
Functor to test if two values are relatively near each other.
It can be used in something like:
Definition at line 295 of file Functors.h.
|
inlineexplicit |
Definition at line 297 of file Functors.h.
|
inline |
Definition at line 300 of file Functors.h.
References casacore::Near< L, R >::itsTolerance, and casacore::near().
|
private |
Definition at line 303 of file Functors.h.
Referenced by casacore::Near< L, R >::operator()().