35 #define FACE_INDEX 3 // i = 0, j = 1, k = 2, face = 3
36 #define FaceIJK(variable_name) int variable_name[4]
37 #define FaceIJK_clone(fijk) \
38 { fijk[I_INDEX], fijk[J_INDEX], fijk[K_INDEX], fijk[FACE_INDEX] }
39 #define FaceIJK_copy(dest_ijk, src_ijk) \
40 dest_ijk[I_INDEX] = src_ijk[I_INDEX]; \
41 dest_ijk[J_INDEX] = src_ijk[J_INDEX]; \
42 dest_ijk[K_INDEX] = src_ijk[K_INDEX]; \
43 dest_ijk[FACE_INDEX] = src_ijk[FACE_INDEX];
53 #define CCWROT_60_INDEX 4 // i = 0, j = 1, k = 2, face = 3
54 #define FaceOrientIJK(variable_name) int variable_name[5]
55 #define FaceOrientIJK2DArray(variable_name, size1, size2) \
56 int variable_name[size1][size2][5]
#define GeoCoord(variable_name)
EXTENSION_INLINE int isResClassIII(int res)
EXTENSION_NOINLINE bool _hex2dToGeo(const Vec2d(v), int face, int res, int substrate, GeoCoord(g))
#define EXTENSION_NOINLINE
#define FaceIJK(variable_name)
2D floating point vector functions.
EXTENSION_NOINLINE bool _geoToHex2d(const GeoCoord(g), int res, int *face, Vec2d(v))
#define Vec2d(variable_name)
Primary H3 core library entry points.
EXTENSION_NOINLINE bool _faceIjkToGeo(const FaceIJK(h), int res, GeoCoord(g))
Header file for CoordIJK functions including conversion from lat/lon.
EXTENSION_NOINLINE int _adjustOverageClassII(FaceIJK(fijk), int res, int pentLeading4, int substrate)
EXTENSION_NOINLINE bool _geoToFaceIjk(const GeoCoord(g), int res, FaceIJK(h))