pub struct Tetrahedra {
pub tetrahedra: Vec<[usize; 4]>,
pub neighbors: Vec<[Option<usize>; 4]>,
}Expand description
The finite tetrahedra of a triangulation, with their adjacency.
Fields§
§tetrahedra: Vec<[usize; 4]>Vertex indices into Delaunay3::points, positively oriented: the
signed volume (b - a) . ((c - a) x (d - a)) of [a, b, c, d] is
positive.
neighbors: Vec<[Option<usize>; 4]>neighbors[t][i] is the tetrahedron across the face opposite vertex
i of tetrahedron t, or None on the convex hull.
Trait Implementations§
Source§impl Clone for Tetrahedra
impl Clone for Tetrahedra
Source§fn clone(&self) -> Tetrahedra
fn clone(&self) -> Tetrahedra
Returns a copy 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 Tetrahedra
impl Debug for Tetrahedra
Source§impl Default for Tetrahedra
impl Default for Tetrahedra
Source§fn default() -> Tetrahedra
fn default() -> Tetrahedra
Returns the “default value” for a type. Read more
Source§impl PartialEq for Tetrahedra
impl PartialEq for Tetrahedra
impl Eq for Tetrahedra
impl StructuralPartialEq for Tetrahedra
Auto Trait Implementations§
impl Freeze for Tetrahedra
impl RefUnwindSafe for Tetrahedra
impl Send for Tetrahedra
impl Sync for Tetrahedra
impl Unpin for Tetrahedra
impl UnwindSafe for Tetrahedra
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