Function self_intersections_brute_force

Source
pub fn self_intersections_brute_force<M: TriangleMeshView + ?Sized>(
    mesh: &M,
) -> Vec<IntersectingPair>
Expand description

The same answer without the spatial index, by checking every pair.

This exists to be compared against self_intersections. The index is an optimisation, and an optimisation that changes the answer is a bug, so the reference is kept in production code rather than in a test where it could drift out of sync with the accelerated path.