pub struct MeshFace {
pub verts: Vec<usize>,
pub owner: usize,
pub neighbour: Option<usize>,
}Expand description
A single mesh face: its point-index loop plus owner / neighbour cells.
verts is wound so the face normal points from owner toward
neighbour (outward from the owner cell). Boundary faces have
neighbour == None.
Fields§
§verts: Vec<usize>Ordered point indices (into PolyMesh::points) forming the face loop.
owner: usizeOwning cell index.
neighbour: Option<usize>Neighbour cell index (internal faces only).
Trait Implementations§
impl StructuralPartialEq for MeshFace
Auto Trait Implementations§
impl Freeze for MeshFace
impl RefUnwindSafe for MeshFace
impl Send for MeshFace
impl Sync for MeshFace
impl Unpin for MeshFace
impl UnsafeUnpin for MeshFace
impl UnwindSafe for MeshFace
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