예제 #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);
 }