예제 #1
0
 /// <summary>
 /// Computes the hash code for the instance.
 /// </summary>
 /// <returns>The hash code.</returns>
 public override int GetHashCode()
 {
     return(center.GetHashCode() ^ radius.GetHashCode() ^ planetRadius.GetHashCode());
 }
예제 #2
0
 /// <summary>
 /// Computes the hash code for the instance.
 /// </summary>
 /// <returns>The hash code.</returns>
 public override int GetHashCode()
 {
     return(nePoint.GetHashCode() ^ swPoint.GetHashCode());
 }