public override int GetHashCode() =>
 XMin.GetHashCode() ^
 YMin.GetHashCode() ^
 XMax.GetHashCode() ^
 YMax.GetHashCode() ^
 ZMin.GetHashCode() ^
 ZMax.GetHashCode() ^
 MMin.GetHashCode() ^
 MMax.GetHashCode();
예제 #2
0
파일: Envelope.cs 프로젝트: ujr/csutils
 public override int GetHashCode()
 {
     unchecked
     {
         int result = XMin.GetHashCode();
         result = (result * 397) ^ YMin.GetHashCode();
         result = (result * 397) ^ XMax.GetHashCode();
         result = (result * 397) ^ YMax.GetHashCode();
         return(result);
     }
 }
예제 #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = XMin.GetHashCode();
         hashCode = (hashCode * 397) ^ YMin.GetHashCode();
         hashCode = (hashCode * 397) ^ XMax.GetHashCode();
         hashCode = (hashCode * 397) ^ YMax.GetHashCode();
         return(hashCode);
     }
 }
예제 #4
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (SpatialReference != null ? SpatialReference.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ XMin.GetHashCode();
         hashCode = (hashCode * 397) ^ XMax.GetHashCode();
         hashCode = (hashCode * 397) ^ YMin.GetHashCode();
         hashCode = (hashCode * 397) ^ YMax.GetHashCode();
         return(hashCode);
     }
 }