vibespatial.kernels.spatial.segment_bvh

Cached segment work and per-row BVHs for expensive candidate refinement.

Attributes

Classes

Functions

segment_bvh(geometry, *, precision_plan)

Build per-row segment bounds; exact metric consumers use a separate FP64 plan.

Module Contents

vibespatial.kernels.spatial.segment_bvh.KINDS
class vibespatial.kernels.spatial.segment_bvh.RowSegmentBVH(geometry, *, bounds_plan, hierarchy=True)
row_bounds
runtime
kernels
coords
offsets
capacity
nodes
total
bounds
bytes
run(name, count, arrays, scalars)
family(family)
class vibespatial.kernels.spatial.segment_bvh.SegmentBVHRefiner(geometry, precision_plan, *, bounds_plan)
tree
bounds_plan
query = None
for_query(geometry, *, context)
refine(left, right, active)
vibespatial.kernels.spatial.segment_bvh.segment_bvh(geometry, *, precision_plan)

Build per-row segment bounds; exact metric consumers use a separate FP64 plan.