#ifndef POLYGON_HPP #define POLYGON_HPP #include "geometry.hpp" // Find the parts of a polygon (in world coordinates) that are narrower than // a pixel at zoom level z with the specified tile detail, and return strips // (in tile coordinates) covering the pixels along them. drawvec thin_polygon_strips(drawvec const &geom, int z, int detail); // Union the strips from thin_polygon_strips() with a cleaned polygon // (both in tile coordinates) drawvec union_polygon_strips(drawvec const &geom, drawvec const &strips); #endif