isInsideX =
            center.x - rRangeX[0] <= xVal[0] && xVal[1] <= center.x + rRangeX[0]