OGS
RasterDataToMesh.cpp File Reference

Detailed Description

Definition in file RasterDataToMesh.cpp.

Include dependency graph for RasterDataToMesh.cpp:

Go to the source code of this file.

Namespaces

namespace  MeshToolsLib
 
namespace  MeshToolsLib::RasterDataToMesh
 Adding pixel values from a raster onto nodes or cells of a mesh.
 

Functions

static bool MeshToolsLib::RasterDataToMesh::checkMesh (MeshLib::Mesh const &mesh)
 
static double MeshToolsLib::RasterDataToMesh::evaluatePixel (double const value, double const no_data, double const replacement)
 
bool MeshToolsLib::RasterDataToMesh::projectToNodes (MeshLib::Mesh &mesh, GeoLib::Raster const &raster, double const default_replacement, std::string const &array_name)
 
bool MeshToolsLib::RasterDataToMesh::projectToElements (MeshLib::Mesh &mesh, GeoLib::Raster const &raster, double const default_replacement, std::string const &array_name)