18#include <geos/export.h>
74 static constexpr int MAX_LEVEL = 16;
84 static uint32_t
encode(
int x,
int y);
121 static uint32_t
level(uint32_t numPoints);
126 static void checkLevel(uint32_t level) ;
128 static uint32_t interleave(uint32_t x);
130 static uint32_t deinterleave(uint32_t x);
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:217
Definition MortonCode.h:67
static uint32_t encode(int x, int y)
static uint32_t maxOrdinate(uint32_t level)
static geom::Coordinate decode(uint32_t index)
static uint32_t levelSize(uint32_t level)
static uint32_t level(uint32_t numPoints)
Basic namespace for all GEOS functionalities.
Definition geos.h:39