warp.mesh_query_aabb_next#

warp.mesh_query_aabb_next(query: MeshQueryAABB, index: int32) → bool#
  • Kernel: true
  • Python: false
  • Differentiable: false

Advance an AABB or sphere mesh query to the next matching triangle.

This function is retained for compatibility. Prefer mesh_query_next() for new code and query-type-independent traversal.

Parameters:
  • query – The query to advance

  • index – Output; receives the zero-based face index of the current result

Returns:

True if another matching triangle was found, otherwise False.

warp.mesh_query_aabb_next(query: _MeshQuerySphere, index: int32) → bool
  • Kernel: true
  • Python: false
  • Differentiable: false

Advance an AABB or sphere mesh query to the next matching triangle.

This function is retained for compatibility. Prefer mesh_query_next() for new code and query-type-independent traversal.

Parameters:
  • query – The query to advance

  • index – Output; receives the zero-based face index of the current result

Returns:

True if another matching triangle was found, otherwise False.

warp.mesh_query_aabb_next(query: MeshQuery, index: int32) → bool
  • Kernel: true
  • Python: false
  • Differentiable: false

Advance an AABB or sphere mesh query to the next matching triangle.

This function is retained for compatibility. Prefer mesh_query_next() for new code and query-type-independent traversal.

Parameters:
  • query – The query to advance

  • index – Output; receives the zero-based face index of the current result

Returns:

True if another matching triangle was found, otherwise False.