56 template <
typename InputIterator>
Definition of the Point3d class.
Class Raster is used for managing raster data.
Raster & operator=(Raster &&)=delete
GeoLib::RasterHeader _header
const double * const_iterator
Raster(RasterHeader header, InputIterator begin, InputIterator end)
Constructor for an object of class Raster. The raster data have to be handed over via input iterators...
void setNoDataVal(double no_data_val)
void refineRaster(std::size_t scaling)
double getValueAtPoint(const MathLib::Point3d &pnt) const
bool isPntOnRaster(MathLib::Point3d const &pnt) const
Checks if the given point is located within the (x,y)-extension of the raster.
double interpolateValueAtPoint(const MathLib::Point3d &pnt) const
Interpolates the elevation of the given point based on the 8-neighbourhood of the raster cell it is l...
Raster(Raster const &)=delete
const_iterator begin() const
RasterHeader const & getHeader() const
Returns the complete header information.
void setCellSize(double cell_size)
const_iterator end() const
Raster & operator=(Raster const &)=delete
void copy(PETScVector const &x, PETScVector &y)