diff --git a/topologisk_redigering/src/res/TopologyValidation.js b/topologisk_redigering/src/res/TopologyValidation.js index 1d3d2f160e75625c63de8d7133279c9aad2cc162..fafc7bc35904a50ff555e1b91b52d85e5038f425 100644 --- a/topologisk_redigering/src/res/TopologyValidation.js +++ b/topologisk_redigering/src/res/TopologyValidation.js @@ -173,7 +173,7 @@ class Line { } else if (line2.startX <= line1.startX && line2.endX >= line1.startX) { return line1.startY == line1.yValueAt(line1.startX) } - console.log("overlapX: " + overlapX) + } function haveMatchingLines(lines1, lines2) { @@ -238,4 +238,6 @@ class Line { console.log("You have solved the problem: " + (polygonsAreConnected(polygon1, polygon2) == true)) - \ No newline at end of file + +// TODO: does not work for vertical borders. +// TODO: will rounding errors be an issue? \ No newline at end of file