pub struct SectionOutcome {
pub frame: Frame3,
pub contours: Vec<SectionContour>,
pub evidence: SectionEvidence,
}Expand description
Plane-local closed section contours plus approximation evidence.
Fields§
§frame: Frame3Right-handed orthonormal mapping from local (x,y,0) to model space.
contours: Vec<SectionContour>Closed section contours. Empty means the plane misses the solid.
evidence: SectionEvidenceSource and output counts.
Implementations§
Source§impl SectionOutcome
impl SectionOutcome
Sourcepub fn new(
frame: Frame3,
contours: Vec<SectionContour>,
evidence: SectionEvidence,
) -> Self
pub fn new( frame: Frame3, contours: Vec<SectionContour>, evidence: SectionEvidence, ) -> Self
Construct a provider result. Registries validate it before returning it.
Trait Implementations§
Source§impl Clone for SectionOutcome
impl Clone for SectionOutcome
Source§fn clone(&self) -> SectionOutcome
fn clone(&self) -> SectionOutcome
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 SectionOutcome
impl Debug for SectionOutcome
Source§impl PartialEq for SectionOutcome
impl PartialEq for SectionOutcome
impl StructuralPartialEq for SectionOutcome
Auto Trait Implementations§
impl Freeze for SectionOutcome
impl RefUnwindSafe for SectionOutcome
impl Send for SectionOutcome
impl Sync for SectionOutcome
impl Unpin for SectionOutcome
impl UnwindSafe for SectionOutcome
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