Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = MinLat.GetHashCode();
         hashCode = (hashCode * 397) ^ MinLon.GetHashCode();
         hashCode = (hashCode * 397) ^ MaxLat.GetHashCode();
         hashCode = (hashCode * 397) ^ MaxLon.GetHashCode();
         return(hashCode);
     }
 }
Example #2
0
 public bool Equals(Envelope other)
 {
     return(!ReferenceEquals(null, other) && MinLat.Equals(other.MinLat) && MinLon.Equals(other.MinLon) && MaxLat.Equals(other.MaxLat) && MaxLon.Equals(other.MaxLon));
 }