Пример #1
0
 public Loc(Stop s)
 {
     this.Lat = s.Lat;
     this.Lon = s.Lon;
     this.LocId = s.StopId;
     this.Name = s.Name;
     this.StopId = s.StopId;
     this.StopTrips = new List<StopTrip>();
     NearbyLocs = null;
 }
Пример #2
0
 public static float Dist(Stop stop1, Stop stop2)
 {
     return Dist(stop1.Lon, stop1.Lat, stop2.Lon, stop2.Lat);
 }