示例#1
0
文件: Loader.cs 项目: tillberg/mbta
 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
文件: Geo.cs 项目: tillberg/mbta
 public static float Dist(Stop stop1, Stop stop2)
 {
     return Dist(stop1.Lon, stop1.Lat, stop2.Lon, stop2.Lat);
 }