where_in_box

tri3d.geometry.where_in_box(pts, size, box2sensor)

Return the points that lie inside a bounding box.

Parameters:
  • pts – N by 3 array of point coordinates

  • size – (l, w, h) triplet size of the box

  • box2sensor (Transformation) – transformation from box local to sensor coordinates