#[non_exhaustive]pub struct FieldEvidence {
pub cells_sampled: usize,
pub surface_hits: usize,
pub occupancy_spans: usize,
pub empty_cells: usize,
pub multi_layer_cells: usize,
pub parallel_triangles_skipped: usize,
pub out_of_bounds_hits: usize,
pub boundary_contacts: usize,
pub coincident_hits_merged: usize,
pub degenerate_triangles: usize,
}Expand description
Structured facts about one sampling run.
Evidence is reported, never used to silently alter the result.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cells_sampled: usizeCells visited by the sampler.
surface_hits: usizeSurface crossings stored across all cells.
occupancy_spans: usizeOccupancy spans stored across all cells.
empty_cells: usizeCells holding no layer at all.
multi_layer_cells: usizeCells holding more than one surface crossing.
parallel_triangles_skipped: usizeTriangles skipped because they are parallel to the sampling direction.
out_of_bounds_hits: usizeCrossings discarded because they fell outside the local w bounds.
boundary_contacts: usizeCrossings that landed on a triangle edge or vertex within tolerance.
coincident_hits_merged: usizeCoincident crossings collapsed because adjacent facets share an edge.
A sampling line through a shared edge meets both facets, but the two reports describe one surface. They are merged and counted here rather than stored twice or dropped silently.
degenerate_triangles: usizeTriangles rejected as degenerate before sampling.
Trait Implementations§
Source§impl Clone for FieldEvidence
impl Clone for FieldEvidence
Source§fn clone(&self) -> FieldEvidence
fn clone(&self) -> FieldEvidence
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more