Reworked the algorithm for avoid crossing perimeters for multiple objects
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user