Somewhat less shardy

This commit is contained in:
Erica Fischer
2023-01-04 14:51:20 -08:00
parent 3b2599f587
commit 829c765d5d
3 changed files with 20 additions and 8 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
#define GEOMETRY_HPP
#include <vector>
#include <set>
#include <atomic>
#include <sqlite3.h>
#include <stdio.h>
@@ -71,7 +72,7 @@ drawvec clip_lines(drawvec &geom, int z, long long buffer);
drawvec stairstep(drawvec &geom, int z, int detail);
bool point_within_tile(long long x, long long y, int z);
int quick_check(long long *bbox, int z, long long buffer);
drawvec simplify_lines(drawvec &geom, int z, int detail, bool mark_tile_bounds, double simplification, size_t retain, drawvec const &shared_nodes);
drawvec simplify_lines(drawvec &geom, int z, int detail, bool mark_tile_bounds, double simplification, size_t retain, drawvec const &shared_nodes, std::set<std::pair<long long, long long>> &kept);
drawvec reorder_lines(drawvec &geom);
drawvec fix_polygon(drawvec &geom);
std::vector<drawvec> chop_polygon(std::vector<drawvec> &geoms);