mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Bugfix: concave starting points were not correctly detected for slice holes. Includes regression test. #2857
This commit is contained in:
parent
97c701cdac
commit
f14c0e2183
5 changed files with 54 additions and 10 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue