Remove unused parameter

This commit is contained in:
Victor Shcherb 2017-02-10 18:44:11 +01:00
parent bf40333879
commit 25a1e03d7d
3 changed files with 3 additions and 3 deletions

View file

@ -447,7 +447,7 @@ public class BinaryRoutePlanner {
continue; continue;
} }
double heightObstacle = ctx.getRouter().defineHeightObstacle(road, !reverseWaySearch ? prevInd : segmentPoint, double heightObstacle = ctx.getRouter().defineHeightObstacle(road, !reverseWaySearch ? prevInd : segmentPoint,
!reverseWaySearch ? segmentPoint : prevInd, segmentDist); !reverseWaySearch ? segmentPoint : prevInd);
if(heightObstacle > 0) { if(heightObstacle > 0) {
} }

View file

@ -288,7 +288,7 @@ public class GeneralRouter implements VehicleRouter {
} }
@Override @Override
public double defineHeightObstacle(RouteDataObject road, short startIndex, short endIndex, float distance) { public double defineHeightObstacle(RouteDataObject road, short startIndex, short endIndex) {
if(!heightObstacles) { if(!heightObstacles) {
return 0; return 0;
} }

View file

@ -35,7 +35,7 @@ public interface VehicleRouter {
/** /**
* return delay in seconds for height obstacles * 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) * return delay in seconds (0 no obstacles)