From a85d22e60874047f18999dba3d720e4598cb2b0c Mon Sep 17 00:00:00 2001 From: jyviko <2501648+jyviko@users.noreply.github.com> Date: Fri, 30 Oct 2026 13:39:25 -0400 Subject: [PATCH] kernel: Body::contains, the mesh test, is gone Every caller asks Body::classify_point now. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01NvoxKQ2rEZvcXNQnhE3Sgs --- crates/kernel/src/body.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/kernel/src/body.rs b/crates/kernel/src/body.rs index 44c42974c..211ab4859 100644 --- a/crates/kernel/src/body.rs +++ b/crates/kernel/src/body.rs @@ -1354,11 +1354,6 @@ impl Body { Ok(best) } - /// Is the point inside the solid? - pub fn contains(&self, p: Vec3) -> bool { - self.mesh(&MeshTolerance::chord(self.size() * 2e-3)).map(|m| m.contains(p)).unwrap_or(false) - } - /// Where `p` lies against the body, decided exactly on its faces' surfaces and edges' curves /// (SMLib's point classification at the body's own tolerance, no mesh): on the boundary when /// within that tolerance of a face, an edge or a vertex, else inside its material or outside