pub struct CertifiedSurfaceArcs3 {
pub regions: Vec<CertifiedRegion>,
pub visited_patch_pairs: u32,
pub max_depth_reached: u32,
}Expand description
Result of certified curved surface/surface analysis.
Deliberately not an Option-like “answer or nothing”: a curved pair
is routinely partly provable, and collapsing that to a single
verdict is what loses geometry. The caller gets the transversal
regions and the unproven ones together, and can always ask whether
the analysis was complete.
Fields§
§regions: Vec<CertifiedRegion>Every leaf, in deterministic order, tiling the root box exactly.
visited_patch_pairs: u32Patch pairs examined.
max_depth_reached: u32Deepest leaf produced.
Implementations§
Source§impl CertifiedSurfaceArcs3
impl CertifiedSurfaceArcs3
Sourcepub fn is_fully_certified(&self) -> bool
pub fn is_fully_certified(&self) -> bool
Whether every leaf was proven either empty or transversal.
false means part of the domain is still unproven; the regions
say which part. Callers that need a total answer must branch on
this rather than assuming the arcs are exhaustive.
Sourcepub fn unproven(&self) -> impl Iterator<Item = &CertifiedRegion>
pub fn unproven(&self) -> impl Iterator<Item = &CertifiedRegion>
Regions that remain unproven, in deterministic order.
Trait Implementations§
Source§impl Clone for CertifiedSurfaceArcs3
impl Clone for CertifiedSurfaceArcs3
Source§fn clone(&self) -> CertifiedSurfaceArcs3
fn clone(&self) -> CertifiedSurfaceArcs3
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CertifiedSurfaceArcs3
impl Debug for CertifiedSurfaceArcs3
Source§impl PartialEq for CertifiedSurfaceArcs3
impl PartialEq for CertifiedSurfaceArcs3
impl StructuralPartialEq for CertifiedSurfaceArcs3
Auto Trait Implementations§
impl Freeze for CertifiedSurfaceArcs3
impl RefUnwindSafe for CertifiedSurfaceArcs3
impl Send for CertifiedSurfaceArcs3
impl Sync for CertifiedSurfaceArcs3
impl Unpin for CertifiedSurfaceArcs3
impl UnwindSafe for CertifiedSurfaceArcs3
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
Mutably borrows from an owned value. Read more