distance3d.containment_test.points_in_box

distance3d.containment_test.points_in_box(points, box2origin, size)[source]

Test if points are in box.

Parameters:
pointsarray, shape (n_points, 3)

Points.

box2originarray, shape (4, 4)

Pose of the box.

sizearray, shape (3,)

Sizes of the box along its axes.

Returns:
containedarray, shape (n_points,)

Boolean array indicating whether each point is contained or not.