public CalibrationPoint() { Coordinates = new Point2D(); MeanEstimatedCoords = new Point2D(); Accuracy = new Accuracy(); MeanError = new MeanError(); StandardDeviation = new StandardDeviation(); }
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); }
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)); }