Generate fewer duplicate label points at high zoom levels (#42)

This commit is contained in:
Erica Fischer
2022-12-02 11:02:33 -08:00
committed by GitHub
parent 5c647cdb83
commit f1df09f147
6 changed files with 124 additions and 51 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ void check_polygon(drawvec &geom);
double get_area(const drawvec &geom, size_t i, size_t j);
double get_mp_area(drawvec &geom);
drawvec polygon_to_anchor(const drawvec &geom);
drawvec spiral_anchors(drawvec const &geom, int tx, int ty, int z, unsigned long long label_point);
drawvec checkerboard_anchors(drawvec const &geom, int tx, int ty, int z, unsigned long long label_point);
drawvec simple_clip_poly(drawvec &geom, long long x1, long long y1, long long x2, long long y2);
drawvec clip_lines(drawvec &geom, long long x1, long long y1, long long x2, long long y2);