Esempio n. 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;
 }
Esempio n. 2
0
File: Geo.cs Progetto: tillberg/mbta
 public static float Dist(Stop stop1, Stop stop2)
 {
     return Dist(stop1.Lon, stop1.Lat, stop2.Lon, stop2.Lat);
 }