pub struct SheetDistortion {
pub length: (f64, f64),
pub area: (f64, f64),
}Expand description
How far a laid sheet stretches, over the sheet points it has carried.
Each is a pair: the least and the most ratio of a length (or an area) on the surface to the same on the sheet. Geodesic polar coordinates keep the radial length, so the length’s range always holds 1, and the area’s ratio is the across-ray stretch alone.
Fields§
§length: (f64, f64)The least and the most length ratio.
area: (f64, f64)The least and the most area ratio.
Trait Implementations§
Source§impl Clone for SheetDistortion
impl Clone for SheetDistortion
impl Copy for SheetDistortion
Source§impl Debug for SheetDistortion
impl Debug for SheetDistortion
Source§impl PartialEq for SheetDistortion
impl PartialEq for SheetDistortion
impl StructuralPartialEq for SheetDistortion
Auto Trait Implementations§
impl Freeze for SheetDistortion
impl RefUnwindSafe for SheetDistortion
impl Send for SheetDistortion
impl Sync for SheetDistortion
impl Unpin for SheetDistortion
impl UnsafeUnpin for SheetDistortion
impl UnwindSafe for SheetDistortion
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.