pub enum TriLoc {
Inside,
OnEdge(u8),
OnVertex(u8),
Outside,
}Expand description
Where a point lies relative to a non-degenerate triangle, in 2D.
Variants§
Inside
OnEdge(u8)
On the open edge i, where edge i runs from vertex i to vertex i+1 (mod 3).
OnVertex(u8)
Coincident with vertex i.
Outside
Trait Implementations§
impl Copy for TriLoc
impl Eq for TriLoc
impl StructuralPartialEq for TriLoc
Auto Trait Implementations§
impl Freeze for TriLoc
impl RefUnwindSafe for TriLoc
impl Send for TriLoc
impl Sync for TriLoc
impl Unpin for TriLoc
impl UnsafeUnpin for TriLoc
impl UnwindSafe for TriLoc
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