public override bool Equals(Object o) { var other = o as Eye; if (other != null) { return (RawCoordinates.Equals(other.RawCoordinates) && SmoothedCoordinates.Equals(other.SmoothedCoordinates) && PupilCenterCoordinates.Equals(other.PupilCenterCoordinates) && PupilSize == other.PupilSize); } return(false); }
public override bool Equals(Object o) { if (ReferenceEquals(this, o)) { return(true); } if (!(o is Eye)) { return(false); } var other = o as Eye; return (RawCoordinates.Equals(other.RawCoordinates) && SmoothedCoordinates.Equals(other.SmoothedCoordinates) && PupilCenterCoordinates.Equals(other.PupilCenterCoordinates) && Double.Equals(PupilSize, other.PupilSize)); }