public double UpdateDistanceToNextWaypoint(GeoLocation location, TollPoint point) { return(LocationChecker.DistanceBetweenGeoLocations(location, point.Location)); }
public void SetExit(TollPoint point) { Exit = geoDataService.GetTollWayPoint(point.TollWaypointId); }
public void SetIgnoredChoiceTollPoint(TollPoint point) { IgnoredChoiceTollPoint = point; }
public void SetEntrance(TollPoint point) { Entrance = geoDataService.GetTollWayPoint(point.TollWaypointId); TollRoad = geoDataService.GetTollRoad(Entrance.TollRoadId); TollPoint = geoDataService.GetTollPoint(point.Id); }