Reworked the algorithm for avoid crossing perimeters for multiple objects

This commit is contained in:
Lukáš Hejl
2020-11-16 14:21:36 +01:00
parent 69658a57d8
commit c16aad7e0b
4 changed files with 167 additions and 35 deletions
+2 -1
View File
@@ -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);
};