public override int GetHashCode() { return(FocalLengthX.GetHashCode() ^ FocalLengthY.GetHashCode() ^ PrincipalPointX.GetHashCode() ^ PrincipalPointY.GetHashCode() ^ RadialDistortionSecondOrder.GetHashCode() ^ RadialDistortionFourthOrder.GetHashCode() ^ RadialDistortionSixthOrder.GetHashCode()); }
/// <summary> /// Calculates the hash code of the CameraParameters. /// </summary> /// <returns>The hash code.</returns> public override int GetHashCode() { // Note this method of hash code generation is similar to what the XNA framework does return(FocalLengthX.GetHashCode() + FocalLengthY.GetHashCode() + PrincipalPointX.GetHashCode() + PrincipalPointY.GetHashCode()); }