#[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 moreSource§impl Debug for FieldEvidence
impl Debug for FieldEvidence
Source§impl Default for FieldEvidence
impl Default for FieldEvidence
Source§fn default() -> FieldEvidence
fn default() -> FieldEvidence
Source§impl PartialEq for FieldEvidence
impl PartialEq for FieldEvidence
impl Copy for FieldEvidence
impl Eq for FieldEvidence
impl StructuralPartialEq for FieldEvidence
Auto Trait Implementations§
impl Freeze for FieldEvidence
impl RefUnwindSafe for FieldEvidence
impl Send for FieldEvidence
impl Sync for FieldEvidence
impl Unpin for FieldEvidence
impl UnwindSafe for FieldEvidence
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more