Beispiel #1
0
        public override bool Equals(Object o)
        {
            if (ReferenceEquals(this, o))
            {
                return(true);
            }

            if (!(o is GazeData))
            {
                return(false);
            }

            var other = o as GazeData;

            return
                (State == other.State &&
                 RawCoordinates.Equals(other.RawCoordinates) &&
                 SmoothedCoordinates.Equals(other.SmoothedCoordinates) &&
                 LeftEye.Equals(other.LeftEye) &&
                 RightEye.Equals(other.RightEye) &&
                 TimeStamp == other.TimeStamp &&
                 TimeStampString.Equals(TimeStampString) &&
                 IsFixated == other.IsFixated);
        }