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.

param id:

The mesh identifier

param low:

The lower bound of the bounding box in mesh space

param high:

The upper bound of the bounding box in mesh space