Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     return(Center.GetHashCode() ^ Extents.GetHashCode() << 2);
 }
Ejemplo n.º 2
0
 /// <summary>Builds a hashing code for the instance</summary>
 /// <returns>The instance's hashing code</returns>
 public override int GetHashCode()
 {
     return(Transform.GetHashCode() ^ Center.GetHashCode() ^ Extents.GetHashCode());
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns>
 public override int GetHashCode()
 {
     return(Extents.GetHashCode() + Transformation.GetHashCode());
 }
Ejemplo n.º 4
0
 public override int GetHashCode()
 {
     // ReSharper disable once NonReadonlyMemberInGetHashCode
     return(Extents.GetHashCode());
 }