[][src]Trait gut::mesh::topology::FaceVertex

pub trait FaceVertex {
    fn face_to_vertex<I>(&self, i: I, k: usize) -> Option<VertexIndex>
    where
        I: Copy + Into<FaceIndex>
;
fn face_vertex<I>(&self, i: I, k: usize) -> Option<FaceVertexIndex>
    where
        I: Copy + Into<FaceIndex>
;
fn num_face_vertices(&self) -> usize;
fn num_vertices_at_face<I>(&self, i: I) -> usize
    where
        I: Copy + Into<FaceIndex>
; fn reverse_topo(&self) -> (Vec<usize>, Vec<usize>)
    where
        Self: NumFaces + NumVertices
, { ... } }

Required methods

fn face_to_vertex<I>(&self, i: I, k: usize) -> Option<VertexIndex> where
    I: Copy + Into<FaceIndex>, 

Index of the destination element.

fn face_vertex<I>(&self, i: I, k: usize) -> Option<FaceVertexIndex> where
    I: Copy + Into<FaceIndex>, 

Toplogy index: where the data lives in an attribute array.

fn num_face_vertices(&self) -> usize

Topology quantifier. Number of connectors in total.

fn num_vertices_at_face<I>(&self, i: I) -> usize where
    I: Copy + Into<FaceIndex>, 

Topology quantifier. Number of connectors at a particular element.

Loading content...

Provided methods

fn reverse_topo(&self) -> (Vec<usize>, Vec<usize>) where
    Self: NumFaces + NumVertices

Generate the reverse topology structure.

Loading content...

Implementors

impl<T: Real> FaceVertex for PolyMesh<T>[src]

fn face_to_vertex<FI>(&self, fidx: FI, which: usize) -> Option<VertexIndex> where
    FI: Copy + Into<FaceIndex>, 
[src]

Given the index of a polygonal face fidx, return the index of the vertex the whichth vertex within the face.

impl<T: Real> FaceVertex for QuadMesh<T>[src]

impl<T: Real> FaceVertex for QuadMeshExt<T>[src]

impl<T: Real> FaceVertex for TriMesh<T>[src]

impl<T: Real> FaceVertex for TriMeshExt<T>[src]

Loading content...