Function: isPointInsideBox

CALL:

b = isPointInsideBox(point, box)

DESCRIPTION:

isPointInsideBox, determine if points are inside or on the edge of a box [xmin xmax ymin ymax].

INPUT:

point any
Nx2 array of points (x,y)
box any
box representation of rectangle [xmin xmax ymin ymax]

OUTPUT:

b any
[Nx1] boolean, if true point is inside or on edges of box, false otherwise