Given two iterators defining a range of key-value-pairs this class provides interpolation of values for an arbitrary key by returning the value of the nearest entry. More...
#include <Interpolation.h>
Public Types | |
typedef Interpolated< V > | interpolated |
Public Member Functions | |
Nearest (V oorv) | |
void | setOutOfRangeVal (V oorv) |
interpolated | operator() (const InputIterator &first, const InputIterator &last, const Key &pos) const |
interpolated | operator() (const InputIterator &first, const InputIterator &last, const Key &pos, InputIterator upperBound) const |
Protected Attributes | |
PairLess< Pair, Key > | comp |
bool | continueOutOfRange |
V | outOfRangeVal |
Given two iterators defining a range of key-value-pairs this class provides interpolation of values for an arbitrary key by returning the value of the nearest entry.
Definition at line 147 of file Interpolation.h.