pub enum PipeCorners {
Mitre,
Extended,
Round,
}Expand description
How a pipe turns a sharp corner of its spine.
Variants§
Mitre
The walls sheared onto the plane halving the corner.
Extended
Each leg runs on straight past the corner until its section clears the other leg’s far side, and the legs are fused: the outside of the corner square.
Round
Each leg ends square at the corner and the section turns about the corner through its angle, joining the two ends: the outside of the corner rounded.
A face’s corner is the union of the legs and its section’s half outside the turn revolved about the corner’s axis, and a closed wire’s is that solid’s walls. An open wire bounds no solid: its sheet is rounded point by point, each point of the section outside the turn turning about the axis and each point inside cut on the plane halving the corner. A closed wire split into open ones sweeps its walls so only where each point of it inside the turn reaches the corner’s axis across the section’s interior; a section turned about the spine so that its walls inside the turn are covered by the other leg (a tilted square) does not.
Trait Implementations§
Source§impl Clone for PipeCorners
impl Clone for PipeCorners
impl Copy for PipeCorners
Source§impl Debug for PipeCorners
impl Debug for PipeCorners
Source§impl Default for PipeCorners
impl Default for PipeCorners
impl Eq for PipeCorners
Source§impl PartialEq for PipeCorners
impl PartialEq for PipeCorners
impl StructuralPartialEq for PipeCorners
Auto Trait Implementations§
impl Freeze for PipeCorners
impl RefUnwindSafe for PipeCorners
impl Send for PipeCorners
impl Sync for PipeCorners
impl Unpin for PipeCorners
impl UnsafeUnpin for PipeCorners
impl UnwindSafe for PipeCorners
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.