Next step of index widening; tests still pass

This commit is contained in:
Erica Fischer
2024-04-05 12:44:29 -07:00
parent 47124087ca
commit 77f5e9677f
5 changed files with 26 additions and 26 deletions
+6 -6
View File
@@ -20,14 +20,14 @@ struct projection {
extern struct projection *projection;
extern struct projection projections[];
extern index_t (*encode_index)(unsigned int wx, unsigned int wy);
extern void (*decode_index)(index_t index, unsigned *wx, unsigned *wy);
extern index_t (*encode_index)(unsigned long long wx, unsigned long long wy);
extern void (*decode_index)(index_t index, unsigned long long *wx, unsigned long long *wy);
index_t encode_quadkey(unsigned int wx, unsigned int wy);
void decode_quadkey(index_t index, unsigned *wx, unsigned *wy);
index_t encode_quadkey(unsigned long long wx, unsigned long long wy);
void decode_quadkey(index_t index, unsigned long long *wx, unsigned long long *wy);
index_t encode_hilbert(unsigned int wx, unsigned int wy);
void decode_hilbert(index_t index, unsigned *wx, unsigned *wy);
index_t encode_hilbert(unsigned long long wx, unsigned long long wy);
void decode_hilbert(index_t index, unsigned long long *wx, unsigned long long *wy);
unsigned coordinate_to_encodable(long long coord);
long long decoded_to_coordinate(unsigned coord);