18#include <geos/export.h>
73 static constexpr int MAX_LEVEL = 16;
83 static uint32_t
encode(
int x,
int y);
120 static uint32_t
level(uint32_t numPoints);
125 static void checkLevel(uint32_t level) ;
127 static uint32_t interleave(uint32_t x);
129 static uint32_t deinterleave(uint32_t x);
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
Definition: MortonCode.h:66
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