#ifndef slic3r_Tesselate_hpp_ #define slic3r_Tesselate_hpp_ #include #include "Point.hpp" namespace Slic3r { class ExPolygon; typedef std::vector ExPolygons; extern std::vector triangulate_expolygon_3d (const ExPolygon &poly, coordf_t z = 0, bool flip = false); extern std::vector triangulate_expolygons_3d(const ExPolygons &polys, coordf_t z = 0, bool flip = false); extern std::vector triangulate_expolygon_2d (const ExPolygon &poly, bool flip = false); extern std::vector triangulate_expolygons_2d(const ExPolygons &polys, bool flip = false); extern std::vector triangulate_expolygon_2f (const ExPolygon &poly, bool flip = false); extern std::vector triangulate_expolygons_2f(const ExPolygons &polys, bool flip = false); } // namespace Slic3r #endif /* slic3r_Tesselate_hpp_ */