@Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof PlaneRoadModelSnapshot) { PlaneRoadModelSnapshot that = (PlaneRoadModelSnapshot) o; return (this.model.equals(that.getModel())); } return false; }
@Override public RoadPath getPathTo(Point from, Point to, Unit<Duration> timeUnit, Measure<Double, Velocity> speed, GeomHeuristic heuristic) { return getModel().getPathTo(from, to, timeUnit, speed, heuristic); }
@Override public Measure<Double, Length> getDistanceOfPath(Iterable<Point> path) throws IllegalArgumentException { return getModel().getDistanceOfPath(path); }