FIXME Comment on O(n^2) complexity of compute_intersections()
This commit is contained in:
parent
5e5af56635
commit
cc5f472caa
2 changed files with 2 additions and 0 deletions
|
@ -106,6 +106,7 @@ Slic3r::Pointfs Slic3r::intersection_points(const ExPolygons &expolygons)
|
|||
#include <libslic3r/BoundingBox.hpp>
|
||||
|
||||
namespace priv {
|
||||
//FIXME O(n^2) complexity!
|
||||
Slic3r::Pointfs compute_intersections(const Slic3r::Lines &lines)
|
||||
{
|
||||
using namespace Slic3r;
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
namespace Slic3r {
|
||||
|
||||
// collect all intersecting points
|
||||
//FIXME O(n^2) complexity!
|
||||
Pointfs intersection_points(const Lines &lines);
|
||||
Pointfs intersection_points(const Polygon &polygon);
|
||||
Pointfs intersection_points(const Polygons &polygons);
|
||||
|
|
Loading…
Add table
Reference in a new issue