pub enum RoundProfile {
Elliptical,
Conic(f64),
}Expand description
The shape of an asymmetric round’s section, between its two contacts.
Variants§
Elliptical
The ellipse tangent to each face at its distance: the circular
round’s section stretched along each face to that face’s distance.
With equal distances it is the circular round of
fillet_edge.
Conic(f64)
The conic tangent to each face at its distance whose middle stands
the share rho of the way from the middle of the chord between the
contacts to the crease: near 0 a bevel, 0.5 a parabola, near 1
the sharp edge. rho lies strictly between 0 and 1.
Trait Implementations§
Source§impl Clone for RoundProfile
impl Clone for RoundProfile
impl Copy for RoundProfile
Source§impl Debug for RoundProfile
impl Debug for RoundProfile
Source§impl PartialEq for RoundProfile
impl PartialEq for RoundProfile
impl StructuralPartialEq for RoundProfile
Auto Trait Implementations§
impl Freeze for RoundProfile
impl RefUnwindSafe for RoundProfile
impl Send for RoundProfile
impl Sync for RoundProfile
impl Unpin for RoundProfile
impl UnsafeUnpin for RoundProfile
impl UnwindSafe for RoundProfile
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.