Module mesh_proximity

Expand description

Mesh-level proximity: distance with witnesses, and proximity components.

§What the kernel decides and what it does not

The kernel owns the distance, the witnesses, and the component decomposition. It does not own the verdict: whether a separation is a clash, a tolerance violation, or acceptable is caller policy.

§Surface contact is not solid penetration

These routines measure SURFACE separation. Two solids whose boundaries touch report distance zero; so do two that interpenetrate deeply, because their surfaces cross. A contact area and an interpenetration depth are different measurements and must not be conflated behind one number, so neither is inferred here: MeshDistance::surfaces_cross reports the fact and leaves the interpretation to the caller.

Structs§

MeshDistance
The separation between two meshes and the witness pair realising it.
ProximityComponent
A region where two meshes approach within a threshold.

Enums§

MeshProximityError
Why a mesh proximity query could not be answered.

Functions§

mesh_distance
Distance between two meshes, with the witness pair realising it.
proximity_components
Disjoint regions where two meshes approach within threshold.