pub fn check_self_intersection(
model: &Model,
shape: &Shape,
tol: Tolerances,
) -> OgeomResult<Vec<(Shape, Shape)>>Expand description
Faces of one shape that reach each other without sharing topology: self-intersection, detected as the interference it is.
Every unordered pair of distinct faces that share no edge and no vertex node is put through the exact minimum-distance machinery; a pair within the confusion tolerance of touching is reported. Adjacent faces meet at their shared boundary by construction and are not interference; a valid solid therefore reports nothing, and a sheet folded through itself names the faces that cross.