Browse Source

Fix issue with backward arc having incorrect segments.

Holt59 3 years ago
parent
commit
d5fcf036b9
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/main/org/insa/graph/Node.java

+ 1
- 0
src/main/org/insa/graph/Node.java View File

@@ -45,6 +45,7 @@ public class Node implements Comparable<Node> {
45 45
                 d2o = new ArcBackward(arc);
46 46
             }
47 47
             else {
48
+                Collections.reverse(points);
48 49
                 d2o = new ArcForward(destination, origin, length, roadInformation, points);
49 50
                 arc = new ArcBackward(d2o);
50 51
             }

Loading…
Cancel
Save