Let Clipper clean up polygons again after scaling and simplification

This commit is contained in:
Eric Fischer
2015-10-15 17:11:29 -07:00
parent 6a1895547d
commit f64e2c94e2
3 changed files with 41 additions and 143 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ drawvec decode_geometry(char **meta, int z, unsigned tx, unsigned ty, int detail
void to_tile_scale(drawvec &geom, int z, int detail);
drawvec remove_noop(drawvec geom, int type, int shift);
drawvec clip_point(drawvec &geom, int z, int detail, long long buffer);
drawvec clip_poly(drawvec &geom, int z, int detail, int buffer);
drawvec clean_or_clip_poly(drawvec &geom, int z, int detail, int buffer, bool clip);
drawvec reduce_tiny_poly(drawvec &geom, int z, int detail, bool *reduced, double *accum_area);
drawvec clip_lines(drawvec &geom, int z, int detail, long long buffer);
int quick_check(long long *bbox, int z, int detail, long long buffer);