/// <summary> /// Searches for a closeby link to the road network. /// </summary> /// <param name="vehicle">The vehicle profile.</param> /// <param name="coordinate">The location of the point to search.</param> /// <returns></returns> /// <remarks>Similar to resolve except no resolved point is created.</remarks> public GeoCoordinate Search(Vehicle vehicle, GeoCoordinate coordinate) { if (vehicle == null) { throw new ArgumentNullException("vehicle"); } if (coordinate == null) { throw new ArgumentNullException("coordinate"); } return(_router.Search(vehicle, coordinate)); }
/// <summary> /// Searches for a closeby link to the road network. /// </summary> /// <param name="vehicle">The vehicle profile.</param> /// <param name="coordinate">The location of the point to search.</param> /// <returns></returns> /// <remarks>Similar to resolve except no resolved point is created.</remarks> public GeoCoordinate Search(Vehicle vehicle, GeoCoordinate coordinate) { return(_router.Search(vehicle, coordinate)); }