Grid Interpolation
Classes | Namespaces | Enumerations | Functions
gridInterp.h File Reference
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <limits>
#include <cmath>
Include dependency graph for gridInterp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GRID_INTERP::axis
 The axis class is a container for axis tick values. More...
 
class  GRID_INTERP::GridValues
 This is a container class for the values. More...
 
class  GRID_INTERP::interp< dim >
 Main interpolation class. More...
 

Namespaces

 GRID_INTERP
 

Enumerations

enum  GRID_INTERP::METHOD { GRID_INTERP::METHOD::LINEAR, GRID_INTERP::METHOD::NEAREST, GRID_INTERP::METHOD::IDW, GRID_INTERP::METHOD::INVALID_METHOD }
 Enumeration for the interpolation methods. More...
 
enum  GRID_INTERP::TYPE { GRID_INTERP::TYPE::GRID, GRID_INTERP::TYPE::LAYER, GRID_INTERP::TYPE::INVALID_TYPE }
 The interpolation type it is used only in 3D. For 1 and 2 D it is ignored. The normal type is when interpolation is using a full 3D grid. The layer type is used when the elevation of the 3D field is variable and cannot be defined as one value. This is not currently implemented. More...
 

Functions

void GRID_INTERP::writeCoordsValues (std::string filename, std::vector< std::vector< double >> &coords, std::vector< double > &v)
 This is a utility function which is used to print the results of the interpolation to a file so that it can be read in R forexample. More...