public IntegerPair AbsOffsetTo(IntegerPair other) { return(new IntegerPair(Math.Abs(this.RA - other.RA), Math.Abs(this.Dec - other.Dec))); }
public bool Equals(IntegerPair obj, double toleranceRadians) { return((Math.Abs(obj.RA - this.RA) < toleranceRadians) && (Math.Abs(obj.Dec - this.Dec) < toleranceRadians)); }