Remove unused parameter
This commit is contained in:
parent
bf40333879
commit
25a1e03d7d
3 changed files with 3 additions and 3 deletions
|
@ -447,7 +447,7 @@ public class BinaryRoutePlanner {
|
|||
continue;
|
||||
}
|
||||
double heightObstacle = ctx.getRouter().defineHeightObstacle(road, !reverseWaySearch ? prevInd : segmentPoint,
|
||||
!reverseWaySearch ? segmentPoint : prevInd, segmentDist);
|
||||
!reverseWaySearch ? segmentPoint : prevInd);
|
||||
if(heightObstacle > 0) {
|
||||
|
||||
}
|
||||
|
|
|
@ -288,7 +288,7 @@ public class GeneralRouter implements VehicleRouter {
|
|||
}
|
||||
|
||||
@Override
|
||||
public double defineHeightObstacle(RouteDataObject road, short startIndex, short endIndex, float distance) {
|
||||
public double defineHeightObstacle(RouteDataObject road, short startIndex, short endIndex) {
|
||||
if(!heightObstacles) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ public interface VehicleRouter {
|
|||
/**
|
||||
* return delay in seconds for height obstacles
|
||||
*/
|
||||
public double defineHeightObstacle(RouteDataObject road, short startIndex, short endIndex, float distance);
|
||||
public double defineHeightObstacle(RouteDataObject road, short startIndex, short endIndex);
|
||||
|
||||
/**
|
||||
* return delay in seconds (0 no obstacles)
|
||||
|
|
Loading…
Reference in a new issue