diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2014-08-03 21:42:29 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2014-08-03 21:42:29 +0400 |
commit | 6adc3477c9d08d2cfa0e6902b3d241a9193e50d4 (patch) | |
tree | 98e1a403cec185a06501056d1811b4d39d731bf5 /xs/src/libslic3r/SurfaceCollection.hpp | |
parent | b8676241e0c9f91eb9db5b6757e73edfe7f85598 (diff) |
Moved C++ code into new libslic3r directory
Diffstat (limited to 'xs/src/libslic3r/SurfaceCollection.hpp')
-rw-r--r-- | xs/src/libslic3r/SurfaceCollection.hpp | 22 |
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 |