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; }
public static float Dist(Stop stop1, Stop stop2) { return Dist(stop1.Lon, stop1.Lat, stop2.Lon, stop2.Lat); }