Fix issue with backward arc having incorrect segments.
This commit is contained in:
parent
ccd6d7d7af
commit
d5fcf036b9
@ -45,6 +45,7 @@ public class Node implements Comparable<Node> {
|
||||
d2o = new ArcBackward(arc);
|
||||
}
|
||||
else {
|
||||
Collections.reverse(points);
|
||||
d2o = new ArcForward(destination, origin, length, roadInformation, points);
|
||||
arc = new ArcBackward(d2o);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user