pub enum Extension {
Natural,
Linear {
continuity: Continuity,
},
}Expand description
How a face continues past the edge it is extended across.
Variants§
Natural
The surface continues as itself: an analytic surface along its own equation, a B-spline patch as the polynomial of the span at the edge, which is as smooth across the old edge as the patch is anywhere.
Linear
The surface continues as the polynomial of its derivatives across the
edge, carried to the least order that gives the join continuity:
the first order (straight out along the crossing tangent) for
Continuity::C0, Continuity::G1 and Continuity::C1, the
second for Continuity::G2 and Continuity::C2. An analytic
surface takes it only where its crossing parameter line is straight
(a plane, a cylinder or cone grown along its rulings), where it is
the surface itself.
Fields
continuity: ContinuityThe smoothness the join across the old edge keeps.
Trait Implementations§
impl Copy for Extension
impl Eq for Extension
impl StructuralPartialEq for Extension
Auto Trait Implementations§
impl Freeze for Extension
impl RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
impl UnsafeUnpin for Extension
impl UnwindSafe for Extension
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.