Skip to main content

query_aabb_cached

Function query_aabb_cached 

Source
pub fn query_aabb_cached(
    aabbs: &[StreamlineAabb],
    min: [f64; 3],
    max: [f64; 3],
) -> Vec<usize>
Expand description

Query pre-computed AABBs against a query box, returning matching streamline indices.

This is the fast path: O(N) with 6 float comparisons per streamline, matching trx-cpp’s query_aabb() implementation.