BiLinearInterpolation2D Class Reference
BiLinear 2d interpolation. More...
#include <interpolation.hpp>
Inheritance diagram for BiLinearInterpolation2D:
Public Member Functions | |
| BiLinearInterpolation2D (size_t n, size_t m, const std::vector< double > &f) | |
| Constructor. | |
| virtual | ~BiLinearInterpolation2D () |
| Destructor. | |
| virtual double | operator() (double x, double y) const |
| Operator for getting interpolation at (x,y). | |
Detailed Description
BiLinear 2d interpolation.
Constructor & Destructor Documentation
| BiLinearInterpolation2D::BiLinearInterpolation2D | ( | size_t | n, | |
| size_t | m, | |||
| const std::vector< double > & | f | |||
| ) |
Constructor.
| virtual BiLinearInterpolation2D::~BiLinearInterpolation2D | ( | ) | [inline, virtual] |
Destructor.
Member Function Documentation
| virtual double BiLinearInterpolation2D::operator() | ( | double | x, | |
| double | y | |||
| ) | const [virtual] |
Operator for getting interpolation at (x,y).
Returns an interpolated value of the function at (x,y), where 0 <= (x,y) <= 1. Returns NaN outside this area.
Implements Interpolation2D.
The documentation for this class was generated from the following file: