/// <summary> /// Returns a hash code for this <see cref="KeyPoint"/> structure. /// </summary> /// <returns>An integer value that specifies a hash value for this <see cref="KeyPoint"/> structure.</returns> public override int GetHashCode() { return(Point.GetHashCode() ^ Size.GetHashCode() ^ Angle.GetHashCode() ^ Response.GetHashCode() ^ Octave.GetHashCode() ^ ClassId.GetHashCode()); }
/// <summary> /// Returns a hash code for this <see cref="RotatedRect"/> structure. /// </summary> /// <returns>An integer value that specifies a hash value for this <see cref="RotatedRect"/> structure.</returns> public override int GetHashCode() { return(Center.GetHashCode() ^ Size.GetHashCode() ^ Angle.GetHashCode()); }