110 bool isInitialized =
false;
111 bool hasZValue =
false;
119 return (numCellX * iy + ix);
124 void add(
double x,
double y,
double z);
129 static std::unique_ptr<ElevationModel> create(
const geom::Geometry& geom1,
132 static std::unique_ptr<ElevationModel> create(
const geom::Geometry& geom1);
150 double getZ(
double x,
double y);
static const int DEFAULT_CELL_NUM
An Envelope defines a rectangulare region of the 2D coordinate plane.
A simple elevation model used to populate missing Z values in overlay results.
std::vector< ElevationCell > cells
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
int getCellOffset(int ix, int iy)
Basic namespace for all GEOS functionalities.
constexpr double DoubleNotANumber