Rework of outer borders to reduce unnecessary detours along the border.

The resulting path now contains all intersection with borders, which allows eliminating more unnecessary detours and more simplify the path.
This commit is contained in:
Lukáš Hejl 2020-10-28 01:52:50 +01:00
parent ef9de07740
commit c00c7eaed3
2 changed files with 135 additions and 71 deletions

View file

@ -58,7 +58,7 @@ protected:
class AvoidCrossingPerimeters2 : public AvoidCrossingPerimeters
{
protected:
public:
struct Intersection
{
// Index of the polygon containing this point of intersection.