ext/h3/src/src/h3lib/include/bbox.h in h3-3.6.2 vs ext/h3/src/src/h3lib/include/bbox.h in h3-3.7.1

- old
+ new

@@ -19,10 +19,11 @@ #ifndef BBOX_H #define BBOX_H #include <stdbool.h> + #include "geoCoord.h" /** @struct BBox * @brief Geographic bounding box with coordinates defined in radians */ @@ -35,8 +36,10 @@ bool bboxIsTransmeridian(const BBox* bbox); void bboxCenter(const BBox* bbox, GeoCoord* center); bool bboxContains(const BBox* bbox, const GeoCoord* point); bool bboxEquals(const BBox* b1, const BBox* b2); -int bboxHexRadius(const BBox* bbox, int res); +int bboxHexEstimate(const BBox* bbox, int res); +int lineHexEstimate(const GeoCoord* origin, const GeoCoord* destination, + int res); #endif