/// <summary>
 ///     Returns a hash code of this <see cref="Segment2" /> suitable for use in hashing algorithms and data
 ///     structures like a hash table.
 /// </summary>
 /// <returns>
 ///     A hash code of this <see cref="Segment2" />.
 /// </returns>
 public override int GetHashCode()
 {
     unchecked
     {
         return((Start.GetHashCode() * 397) ^ End.GetHashCode());
     }
 }
 /// <summary>
 ///     Returns a hash code of this <see cref="BoundingRectangle" /> suitable for use in hashing algorithms and data
 ///     structures like a hash table.
 /// </summary>
 /// <returns>
 ///     A hash code of this <see cref="BoundingRectangle" />.
 /// </returns>
 public override int GetHashCode()
 {
     unchecked
     {
         return((Center.GetHashCode() * 397) ^ HalfExtents.GetHashCode());
     }
 }