Struct CertifiedSurfaceArcs3
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§
§impl CertifiedSurfaceArcs3
impl CertifiedSurfaceArcs3
pub 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.
pub fn unproven(&self) -> impl Iterator<Item = &CertifiedRegion>
pub fn unproven(&self) -> impl Iterator<Item = &CertifiedRegion>
Regions that remain unproven, in deterministic order.
Trait Implementations§
§impl Clone for CertifiedSurfaceArcs3
impl Clone for CertifiedSurfaceArcs3
§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 more§impl Debug for CertifiedSurfaceArcs3
impl Debug for CertifiedSurfaceArcs3
§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
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>
Converts
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>
Converts
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