mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-02-03 01:18:44 +03:00
Merge prusa 2.6.1
This commit is contained in:
@@ -3,11 +3,10 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "../Polygon.hpp"
|
||||
#include "../ExPolygon.hpp"
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
class ExPolygon;
|
||||
using ExPolygons = std::vector<ExPolygon>;
|
||||
|
||||
namespace Geometry {
|
||||
@@ -16,7 +15,9 @@ Pointf3s convex_hull(Pointf3s points);
|
||||
Polygon convex_hull(Points points);
|
||||
Polygon convex_hull(const Polygons &polygons);
|
||||
Polygon convex_hull(const ExPolygons &expolygons);
|
||||
Polygon convex_hulll(const Polylines &polylines);
|
||||
Polygon convex_hull(const Polylines &polylines);
|
||||
inline Polygon convex_hull(const Polygon &poly) { return convex_hull(poly.points); }
|
||||
inline Polygon convex_hull(const ExPolygon &poly) { return convex_hull(poly.contour.points); }
|
||||
|
||||
// Returns true if the intersection of the two convex polygons A and B
|
||||
// is not an empty set.
|
||||
|
||||
Reference in New Issue
Block a user