mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
Reworked the algorithm for avoid crossing perimeters for multiple objects
This commit is contained in:
parent
69658a57d8
commit
c16aad7e0b
4 changed files with 167 additions and 35 deletions
|
@ -81,7 +81,8 @@ public:
|
|||
|
||||
bool intersection(const Line& line, Point* intersection) const;
|
||||
bool first_intersection(const Line& line, Point* intersection) const;
|
||||
|
||||
bool intersections(const Line &line, Points *intersections) const;
|
||||
|
||||
static Points _douglas_peucker(const Points &points, const double tolerance);
|
||||
static Points visivalingam(const Points& pts, const double& tolerance);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue