mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-22 14:39:55 +02:00
Bugfix: concave starting points were not correctly detected for slice holes. Includes regression test. #2857
This commit is contained in:
1 parent
97c701cdac
commit
f14c0e2183
5 files changed
+54
-10
No files matched your search
@@ -218,7 +218,8 @@ Polygon::wkt() const
|
||||
return wkt.str();
|
||||
}
|
||||
|
||||
// find all concave vertices (i.e. having an internal angle greater than the supplied angle) */
|
||||
// find all concave vertices (i.e. having an internal angle greater than the supplied angle)
|
||||
// (external = right side, thus we consider ccw orientation)
|
||||
Points
|
||||
Polygon::concave_points(double angle) const
|
||||
{
|
||||
@@ -241,7 +242,8 @@ Polygon::concave_points(double angle) const
|
||||
return points;
|
||||
}
|
||||
|
||||
// find all convex vertices (i.e. having an internal angle smaller than the supplied angle) */
|
||||
// find all convex vertices (i.e. having an internal angle smaller than the supplied angle)
|
||||
// (external = right side, thus we consider ccw orientation)
|
||||
Points
|
||||
Polygon::convex_points(double angle) const
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user