PrusaSlicer-NonPlainar/src/libslic3r/Tesselate.hpp

19 lines
448 B
C++
Raw Normal View History

2019-02-05 19:24:25 +00:00
#ifndef slic3r_Tesselate_hpp_
#define slic3r_Tesselate_hpp_
#include <vector>
2019-02-05 20:26:52 +00:00
#include "Point.hpp"
2019-02-05 19:24:25 +00:00
namespace Slic3r {
class ExPolygon;
typedef std::vector<ExPolygon> ExPolygons;
extern Pointf3s triangulate_expolygons_3df(const ExPolygon &poly, coordf_t z = 0, bool flip = false);
extern Pointf3s triangulate_expolygons_3df(const ExPolygons &polys, coordf_t z = 0, bool flip = false);
} // namespace Slic3r
#endif /* slic3r_Tesselate_hpp_ */