pub fn simd_box_box_intersection(
box1_min: &ArrayView1<'_, f64>,
box1_max: &ArrayView1<'_, f64>,
box2_min: &ArrayView1<'_, f64>,
box2_max: &ArrayView1<'_, f64>,
) -> SpatialResult<bool>Expand description
SIMD-accelerated axis-aligned bounding box intersection test
Tests if two axis-aligned bounding boxes intersect.
§Arguments
box1_min- Minimum corner of first boxbox1_max- Maximum corner of first boxbox2_min- Minimum corner of second boxbox2_max- Maximum corner of second box
§Returns
- true if boxes intersect, false otherwise
§Errors
Returns error if dimensions don’t match