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);
|
d2o = new ArcBackward(arc);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Collections.reverse(points);
|
||||||
d2o = new ArcForward(destination, origin, length, roadInformation, points);
|
d2o = new ArcForward(destination, origin, length, roadInformation, points);
|
||||||
arc = new ArcBackward(d2o);
|
arc = new ArcBackward(d2o);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user