Contents:
Check if a coordinate lies within a closed interval on the x-axis.
test_coord_x (float) – The x-value to test.
rectangle_left_x (float) – Lower bound of the interval.
rectangle_right_x (float) – Upper bound of the interval.
True if rectangle_left_x <= test_coord_x <= rectangle_right_x.
bool