mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06:00
Added the new Tesselate.cpp/hpp
This commit is contained in:
parent
8982664551
commit
e3ed05491e
2 changed files with 238 additions and 0 deletions
16
src/libslic3r/Tesselate.hpp
Normal file
16
src/libslic3r/Tesselate.hpp
Normal file
|
@ -0,0 +1,16 @@
|
|||
#ifndef slic3r_Tesselate_hpp_
|
||||
#define slic3r_Tesselate_hpp_
|
||||
|
||||
#include <vector>
|
||||
|
||||
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_ */
|
Loading…
Add table
Add a link
Reference in a new issue