pub struct FillBoundary {
pub edge: Shape,
pub support: Option<Shape>,
pub continuity: Continuity,
}Expand description
One side of an N-sided filling.
Fields§
§edge: ShapeThe boundary edge, placed or not. The filling’s face is bounded by this edge node itself where the edge is not placed and its ends are the vertex nodes its neighbours’ ends are; otherwise by a new edge on the edge’s curve, where it stands, between vertices shared with the neighbouring sides, which the history records as generated from this edge. Either way the face sews to the edge’s own faces.
support: Option<Shape>The face the edge belongs to, placed or not, which the filling
meets across it; the edge as an edge of this face, at the same
placement.
Required for Continuity::G1 and Continuity::G2; on a
Continuity::C0 side it is measured against and helps decide which
way the filling faces.
continuity: ContinuityHow the filling meets support: Continuity::C0 (position),
Continuity::G1 (tangent plane) or Continuity::G2 (tangent
plane and normal curvature).
Trait Implementations§
Source§impl Clone for FillBoundary
impl Clone for FillBoundary
Auto Trait Implementations§
impl Freeze for FillBoundary
impl RefUnwindSafe for FillBoundary
impl Send for FillBoundary
impl Sync for FillBoundary
impl Unpin for FillBoundary
impl UnsafeUnpin for FillBoundary
impl UnwindSafe for FillBoundary
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,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§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).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.