pub enum LocationInfo {
InsideTriangle {
barycentric_coords: [f64; 3],
bounding_triangle_indices: [usize; 3],
},
OutsideConvexHull {
leftmost_visible_index: usize,
rightmost_visible_index: usize,
},
Coplanar,
}Variants§
InsideTriangle
Fields
OutsideConvexHull
The rightmost and leftmost (boundary) nodes that are visible from p
Coplanar
All nodes are coplanar
Trait Implementations§
Source§impl Clone for LocationInfo
impl Clone for LocationInfo
Source§fn clone(&self) -> LocationInfo
fn clone(&self) -> LocationInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocationInfo
impl Debug for LocationInfo
impl Copy for LocationInfo
Auto Trait Implementations§
impl Freeze for LocationInfo
impl RefUnwindSafe for LocationInfo
impl Send for LocationInfo
impl Sync for LocationInfo
impl Unpin for LocationInfo
impl UnsafeUnpin for LocationInfo
impl UnwindSafe for LocationInfo
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