mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
26 lines
625 B
C++
26 lines
625 B
C++
#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);
|
|
template <class T> bool any_internal_contains(const T &item) const;
|
|
template <class T> bool any_bottom_contains(const T &item) const;
|
|
SurfacesPtr filter_by_type(SurfaceType type);
|
|
void filter_by_type(SurfaceType type, Polygons* polygons);
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|