pub enum PointClassification {
OnVertex,
OnEdge,
OnFace,
Inside,
Outside,
}Expand description
Result of classifying a query point against a shell’s boundary.
Variants§
OnVertex
The query point coincides with a vertex.
OnEdge
The query point lies on an edge, away from its endpoints.
OnFace
The query point lies on a face’s interior surface.
Inside
The query point is strictly inside the shell.
Outside
The query point is strictly outside the shell.
Trait Implementations§
Source§impl Clone for PointClassification
impl Clone for PointClassification
Source§fn clone(&self) -> PointClassification
fn clone(&self) -> PointClassification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PointClassification
Source§impl Debug for PointClassification
impl Debug for PointClassification
impl Eq for PointClassification
Source§impl PartialEq for PointClassification
impl PartialEq for PointClassification
Source§fn eq(&self, other: &PointClassification) -> bool
fn eq(&self, other: &PointClassification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PointClassification
Auto Trait Implementations§
impl Freeze for PointClassification
impl RefUnwindSafe for PointClassification
impl Send for PointClassification
impl Sync for PointClassification
impl Unpin for PointClassification
impl UnsafeUnpin for PointClassification
impl UnwindSafe for PointClassification
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