Ejemplo n.º 1
0
 public bool Equals(GPLocation loc)
 {
     return(loc.getCity().Equals(getCity()) &&
            Math.Abs(loc.GetLatitudeNorthPositive() - GetLatitudeNorthPositive()) < 0.01 &&
            Math.Abs(loc.GetLongitudeEastPositive() - GetLongitudeEastPositive()) < 0.01);
 }