Skip to content

File forward_grid.hpp

File List > grid > forward_grid.hpp

Go to the documentation of this file

#pragma once

#include <cstddef>

namespace blaze {

enum class InterpolationMode;
struct Point;
struct Rect;
struct Size;

}  // namespace blaze

class Contour;
class GDALDataset;
class RGBColor;
class CMYKColor;

template <typename T>
class Coordinate2D;

struct Extent2D;

struct ContourConfigs;
struct WaterConfigs;
struct Stream;
struct PolygonWithHoles;

class GridData;
class GeoTransform;
class GeoProjection;
class GeoGridData;
class FlexGrid;
struct BlazeBool;

template <typename U>
class Grid;

template <typename GridT>
class Geo;

template <typename GridT>
class MultiBand;

template <typename T>
class GridGraph;

template <typename T>
using GeoGrid = Geo<Grid<T>>;

using GeoImgGrid = GeoGrid<RGBColor>;
using GeoFlexGrid = Geo<FlexGrid>;

size_t num_cells_by_distance(double x, double dx);

template <typename T>
T interpolate_value(const GeoGrid<T>& grid, const Coordinate2D<double>& projection_coord);