public bool AproxEqualsBox(Vector2 vector, float tolerance) { return (Math.Abs(X-vector.X) <= tolerance) && (Math.Abs(Y-vector.Y) <= tolerance); }