pub enum Meeting {
Apart,
Touching(Vec<Point>),
Along(Vec<Curve>),
Same,
}Expand description
What two surfaces do where they meet.
Variants§
Apart
They do not meet at all.
Touching(Vec<Point>)
They touch at isolated points, without crossing.
A sphere resting on a plane. Distinguished from a curve because a tangential contact has no length to walk along, and an algorithm that treated it as a degenerate curve would divide by that length.
Along(Vec<Curve>)
They meet along these curves.
Same
They are the same surface wherever they overlap.
A separate answer from every other, because it is the one where “the intersection curve” does not exist: the overlap is two-dimensional. A boolean has to detect this and unify the faces rather than look for a seam between them.
Trait Implementations§
impl StructuralPartialEq for Meeting
Auto Trait Implementations§
impl Freeze for Meeting
impl RefUnwindSafe for Meeting
impl Send for Meeting
impl Sync for Meeting
impl Unpin for Meeting
impl UnsafeUnpin for Meeting
impl UnwindSafe for Meeting
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
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.