b = PointInBox(box, point)
Determine if points lie inside or on the boundary of a box
box | any | box representation of rectangle [xmin xmax ymin ymax] |
point | any | [Nx2] array with the (x,y) coordinates of N points |
b | any | [Nx1] boolean array, b(i) is true if point(i,:) lies in or on the boundary of the box |