warp.mesh_query_aabb#

warp.mesh_query_aabb(
id: uint64,
low: vec3f,
high: vec3f,
) MeshQueryAABB#
  • Kernel

Construct an axis-aligned bounding box query against a warp.Mesh.

This query can be used to iterate over all bounding boxes of the triangles inside a volume.

Parameters:
  • id – The mesh identifier

  • low – The lower bound of the bounding box in mesh space

  • high – The upper bound of the bounding box in mesh space.