mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-09 18:27:00 +00:00
Re-include BBS's Clipperutils2 (#11415)
* Clipper2 from BBS * Fix * Clipper2 Update: 1.5.2 -> 2.1.5.4 * Replace Clipper2Lib::Area calls with Clipper2LibArea Updated area calculation calls to use Clipper2LibArea<T> instead of Clipper2Lib::Area<T> in multiple locations. This change likely reflects a refactor or renaming of the area calculation function. * Revert "Replace Clipper2Lib::Area calls with Clipper2LibArea" This reverts commit c92a9a1522e8d7b0f1f8557d4c752a8b8c8fc279. * Revert "Clipper2 Update: 1.5.2 -> 2.1.5.4" This reverts commit a745894bdc9cda4ce4d19e0705d214b78091acad. * Update project version
This commit is contained in:
18
src/libslic3r/Clipper2Utils.hpp
Normal file
18
src/libslic3r/Clipper2Utils.hpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef slic3r_Clipper2Utils_hpp_
|
||||
#define slic3r_Clipper2Utils_hpp_
|
||||
|
||||
#include "ExPolygon.hpp"
|
||||
#include "Polygon.hpp"
|
||||
#include "Polyline.hpp"
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
Slic3r::Polylines intersection_pl_2(const Slic3r::Polylines& subject, const Slic3r::Polygons& clip);
|
||||
Slic3r::Polylines diff_pl_2(const Slic3r::Polylines& subject, const Slic3r::Polygons& clip);
|
||||
ExPolygons union_ex_2(const Polygons &expolygons);
|
||||
ExPolygons union_ex_2(const ExPolygons &expolygons);
|
||||
ExPolygons offset_ex_2(const ExPolygons &expolygons, double delta);
|
||||
ExPolygons offset2_ex_2(const ExPolygons &expolygons, double delta1, double delta2);
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user