Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libslic3r/TriangulateWall.hpp')
-rw-r--r--src/libslic3r/TriangulateWall.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/libslic3r/TriangulateWall.hpp b/src/libslic3r/TriangulateWall.hpp
new file mode 100644
index 000000000..68bf4b0ac
--- /dev/null
+++ b/src/libslic3r/TriangulateWall.hpp
@@ -0,0 +1,17 @@
+#ifndef TRIANGULATEWALL_HPP
+#define TRIANGULATEWALL_HPP
+
+#include "libslic3r/Polygon.hpp"
+
+namespace Slic3r {
+
+using Wall = std::pair<std::vector<Vec3d>, std::vector<Vec3i>>;
+
+Wall triangulate_wall(
+ const Polygon & lower,
+ const Polygon & upper,
+ double lower_z_mm,
+ double upper_z_mm);
+}
+
+#endif // TRIANGULATEWALL_HPP