Function box_intersect_ze::internals::simulated_one_way_scan [−][src]
pub fn simulated_one_way_scan<B, ID>(
intervals: &BBoxSet<B, ID>,
points: &BBoxSet<B, ID>,
max_dim_check: usize,
out: &mut Vec<(ID, ID)>
) where
B: BBox,
ID: Copy + PartialOrd,
B::Num: PartialOrd,
Reports intersections between intervals
and points
by scanning in dimension 0 (because that’s where boxes are sorted),
but pretends it was scanning in dimension max_dim_check
by treating points
as points there, as in one_way_scan