pub struct SeedReport {
pub triangle: u32,
pub in_region: bool,
pub offset: f64,
pub angle: f64,
}Expand description
How a seed stands against the region’s fit.
Fields§
§triangle: u32The triangle nearest the seed.
in_region: boolWhether that triangle is in the region; for a traced curve, whether
a crease edge about the seed has both ends on the chain; for a
Crease::Meeting, whether the triangle lies on the round.
offset: f64The seed’s residual from the fit.
angle: f64The angle, in radians, between the triangle’s normal and the fit’s
normal at the point of the triangle nearest the seed; for a traced
curve, the angle the surface turns through across the nearest crease
edge about the seed on the chain, or the nearest about it where none
is; for a Crease::Meeting, the angle between its planes.
Trait Implementations§
Source§impl Clone for SeedReport
impl Clone for SeedReport
impl Copy for SeedReport
Source§impl Debug for SeedReport
impl Debug for SeedReport
Source§impl PartialEq for SeedReport
impl PartialEq for SeedReport
impl StructuralPartialEq for SeedReport
Auto Trait Implementations§
impl Freeze for SeedReport
impl RefUnwindSafe for SeedReport
impl Send for SeedReport
impl Sync for SeedReport
impl Unpin for SeedReport
impl UnsafeUnpin for SeedReport
impl UnwindSafe for SeedReport
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.