pub enum PipeContact {
AsPlaced,
Contact,
Correction,
}Expand description
How a pipe shell brings its profile onto the spine before sweeping it, a rigid motion of the profile defined by the profile’s plane and the spine’s start alone.
The contact point is the foot of the spine’s start point on the profile’s plane. It is one point for any planar profile, an open wire as much as a face, and a face and its outer wire share it; the profile’s own point nearest the start would not be (every point of a ring about the start is nearest at once, and a face’s nearest point can lie inside it where its boundary’s cannot).
Variants§
AsPlaced
The profile is swept where it stands: square to the spine at its start and through the start point, or refused.
Contact
The profile is moved, unturned, along its plane’s normal by the distance from its plane to the spine’s start point, so that the contact point lands on the start point. A profile already within the confusion distance of the start is swept as it stands.
Correction
As Contact, then the profile is turned about the spine’s start
point by the least rotation standing its plane square to the
spine’s start tangent: about the axis square to both, through the
angle between the tangent and the plane’s normal taken whichever
way round the normal is nearer the tangent. A plane has no side, so
a normal pointing back along the tangent is already square and the
profile is not turned. A plane holding the tangent (to an angle’s
tolerance) is a quarter turn from square either way round, and is
refused.
Trait Implementations§
Source§impl Clone for PipeContact
impl Clone for PipeContact
impl Copy for PipeContact
Source§impl Debug for PipeContact
impl Debug for PipeContact
Source§impl Default for PipeContact
impl Default for PipeContact
impl Eq for PipeContact
Source§impl PartialEq for PipeContact
impl PartialEq for PipeContact
impl StructuralPartialEq for PipeContact
Auto Trait Implementations§
impl Freeze for PipeContact
impl RefUnwindSafe for PipeContact
impl Send for PipeContact
impl Sync for PipeContact
impl Unpin for PipeContact
impl UnsafeUnpin for PipeContact
impl UnwindSafe for PipeContact
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.