is_inside_bounds

is_inside_bounds(point, bounds)

Check if a point is inside a set of bounds.

This is implemented through recursion so that this is N-dimensional.

Parameters
pointsequence

Three item cartesian point (i.e. [x, y, z]).

boundssequence

Six item bounds in the form of (xMin, xMax, yMin, yMax, zMin, zMax).

Returns
bool

True when point is inside bounds.