예제 #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));
        }