Esempio n. 1
0
        /// <summary>
        /// Resolves a point.
        /// </summary>
        /// <param name="vehicle">The vehicle profile.</param>
        /// <param name="coordinate">The location of the point to resolve.</param>
        /// <returns></returns>
        public RouterPoint Resolve(Vehicle vehicle, GeoCoordinate coordinate)
        {
            if (vehicle == null)
            {
                throw new ArgumentNullException("vehicle");
            }
            if (coordinate == null)
            {
                throw new ArgumentNullException("coordinate");
            }

            return(_router.Resolve(vehicle, coordinate, false));
        }
Esempio n. 2
0
 /// <summary>
 /// Resolves a point.
 /// </summary>
 /// <param name="vehicle">The vehicle profile.</param>
 /// <param name="coordinate">The location of the point to resolve.</param>
 /// <returns></returns>
 public RouterPoint Resolve(Vehicle vehicle, GeoCoordinate coordinate)
 {
     return(_router.Resolve(vehicle, coordinate, false));
 }