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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/src/libslic3r/SurfaceCollection.hpp')
-rw-r--r--xs/src/libslic3r/SurfaceCollection.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/xs/src/libslic3r/SurfaceCollection.hpp b/xs/src/libslic3r/SurfaceCollection.hpp
new file mode 100644
index 000000000..fe3fae8c6
--- /dev/null
+++ b/xs/src/libslic3r/SurfaceCollection.hpp
@@ -0,0 +1,22 @@
+#ifndef slic3r_SurfaceCollection_hpp_
+#define slic3r_SurfaceCollection_hpp_
+
+#include "Surface.hpp"
+#include <vector>
+
+namespace Slic3r {
+
+class SurfaceCollection
+{
+ public:
+ Surfaces surfaces;
+
+ operator Polygons() const;
+ operator ExPolygons() const;
+ void simplify(double tolerance);
+ void group(std::vector<SurfacesPtr> *retval);
+};
+
+}
+
+#endif