Fix issue with backward arc having incorrect segments.
This commit is contained in:
parent
ccd6d7d7af
commit
d5fcf036b9
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue