public override int GetHashCode() { return(FocalLengthX.GetHashCode() ^ FocalLengthY.GetHashCode() ^ PrincipalPointX.GetHashCode() ^ PrincipalPointY.GetHashCode() ^ RadialDistortionSecondOrder.GetHashCode() ^ RadialDistortionFourthOrder.GetHashCode() ^ RadialDistortionSixthOrder.GetHashCode()); }
public bool Equals(CameraIntrinsics obj) { return(FocalLengthX.Equals(obj.FocalLengthX) && FocalLengthY.Equals(obj.FocalLengthY) && PrincipalPointX.Equals(obj.PrincipalPointX) && PrincipalPointY.Equals(obj.PrincipalPointY) && RadialDistortionSecondOrder.Equals(obj.RadialDistortionSecondOrder) && RadialDistortionFourthOrder.Equals(obj.RadialDistortionFourthOrder) && RadialDistortionSixthOrder.Equals(obj.RadialDistortionSixthOrder)); }