Skip to main content

build_streamline_aabbs

Function build_streamline_aabbs 

Source
pub fn build_streamline_aabbs<P: TrxScalar>(
    trx: &TrxFile<P>,
) -> Vec<StreamlineAabb>
Expand description

Compute per-streamline AABBs for all streamlines in a TrxFile.

Returns a Vec of length nb_streamlines, where each entry is [min_x, min_y, min_z, max_x, max_y, max_z] in f32.

This is intended to be computed once and reused across multiple queries, matching trx-cpp’s build_streamline_aabbs() / AABB cache pattern.