public bool LiesOnAxes(PointDouble p) { return(GenUtils.CloseEnough(p.X, x, 1) || GenUtils.CloseEnough(p.Y, y, 1) || GenUtils.CloseEnough(p.X, right, 1) || GenUtils.CloseEnough(p.Y, bottom, 1)); }
public bool LiesOnAxes(PointDouble p) { return(GenUtils.CloseEnough(p.X, x, 1) || GenUtils.CloseEnough(p.Y, y, 1) || GenUtils.CloseEnough(p.X, right, 1) || GenUtils.CloseEnough(p.Y, bottom, 1)); }