#[non_exhaustive]pub struct Grown {
pub triangles: Vec<u32>,
pub fit: AnyFit,
pub vertices: Vec<u32>,
pub seeds: Vec<SeedReport>,
pub peeled_rings: u32,
pub crease: Option<Crease>,
}Expand description
A region grown over a mesh, or a crease traced along it, and its fit.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.triangles: Vec<u32>The region’s triangles, in increasing order; none for a curve.
fit: AnyFitThe fit over the region’s vertices.
vertices: Vec<u32>The mesh vertices the fit measured, in the order of its residuals:
those of the region’s triangles, in increasing order; for a traced
curve, the chain’s, in their order along it; for a
Crease::Meeting, the first plane’s and then the second’s, each
in increasing order.
seeds: Vec<SeedReport>Each seed’s report, in the seeds’ order.
peeled_rings: u32The rings GrowOptions::peel took off.
crease: Option<Crease>For a curve, how its crease was found; None for a surface.
Trait Implementations§
impl StructuralPartialEq for Grown
Auto Trait Implementations§
impl Freeze for Grown
impl RefUnwindSafe for Grown
impl Send for Grown
impl Sync for Grown
impl Unpin for Grown
impl UnsafeUnpin for Grown
impl UnwindSafe for Grown
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,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.