Пример #1
0
 public CalibrationPoint()
 {
     Coordinates         = new Point2D();
     MeanEstimatedCoords = new Point2D();
     Accuracy            = new Accuracy();
     MeanError           = new MeanError();
     StandardDeviation   = new StandardDeviation();
 }
 public CalibrationPoint()
 {
     Coordinates = new Point2D();
     MeanEstimatedCoords = new Point2D();
     Accuracy = new Accuracy();
     MeanError = new MeanError();
     StandardDeviation = new StandardDeviation();
 }
Пример #3
0
        public override int GetHashCode()
        {
            int hash = 157;

            hash = hash * 953 + State.GetHashCode();
            hash = hash * 953 + Coordinates.GetHashCode();
            hash = hash * 953 + MeanEstimatedCoords.GetHashCode();
            hash = hash * 953 + Accuracy.GetHashCode();
            hash = hash * 953 + MeanError.GetHashCode();
            hash = hash * 953 + StandardDeviation.GetHashCode();
            return(hash);
        }
Пример #4
0
        public override bool Equals(Object o)
        {
            if (ReferenceEquals(this, o))
            {
                return(true);
            }

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

            var other = o as CalibrationPoint;

            return
                (this.State == other.State &&
                 Coordinates.Equals(other.Coordinates) &&
                 MeanEstimatedCoords.Equals(other.MeanEstimatedCoords) &&
                 Accuracy.Equals(other.Accuracy) &&
                 MeanError.Equals(other.MeanError) &&
                 StandardDeviation.Equals(other.StandardDeviation));
        }