Expand description
Mesh oracles over raw positions (xyz triples) / indices slices.
Test code used to re-derive these per file with different vertex keying
and tolerances, so the same regression could pass one test and fail
another purely because of the oracle. The keying is now an explicit
argument (Key).
Structs§
- Triangle
Shape - The census’s shape reading of a mesh.
Enums§
- Key
- How vertices are identified when counting shared edges.
Functions§
- bbox
- Axis-aligned bounds
(min, max);([inf;3], [-inf;3])when empty. - open_
edges - Number of undirected edges whose incidence count is not exactly 2 (boundary edges plus non-manifold edges). Zero for a closed 2-manifold. Zero-length edges (both ends on one key) are ignored.
- signed_
volume - Signed volume by the divergence theorem, accumulated in
f64about the bounding-box centre ([mesh_check::signed_volume]). Referencing the centre (not the world origin) keeps the result translation-stable for open meshes and far-from-origin operands. Positive for outward (CCW) winding. - triangle_
shape - Triangle shape as the mesh census reads it
([
mesh_check::triangle_shape]): the triangles past 50:1 by longest edge over altitude, and the worst such aspect.