pyvista.core.utilities.is_inside_bounds#

is_inside_bounds(point, bounds)[source]#

Check if a point is inside a set of bounds.

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

Parameters:
pointsequence[float]

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

boundssequence[float]

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

Returns:
bool

True when point is inside bounds.