Trait gut::VertexFace [−][src]
pub trait VertexFace {
fn face<I>(&self, i: I) -> FaceIndex
where
I: Copy + Into<VertexFaceIndex>;
fn vertex_face<I>(&self, i: I, k: usize) -> Option<VertexFaceIndex>
where
I: Copy + Into<VertexIndex>;
fn num_vertex_faces(&self) -> usize;
fn num_faces_at_vertex<I>(&self, i: I) -> usize
where
I: Copy + Into<VertexIndex>;
fn vertex_to_face<I>(&self, i: I, k: usize) -> Option<FaceIndex>
where
I: Copy + Into<VertexIndex>,
{ ... }
}
Required methods
Index of the destination element given the topology index.
fn vertex_face<I>(&self, i: I, k: usize) -> Option<VertexFaceIndex> where
I: Copy + Into<VertexIndex>,
fn vertex_face<I>(&self, i: I, k: usize) -> Option<VertexFaceIndex> where
I: Copy + Into<VertexIndex>,
Toplogy index: where the data lives in an attribute array.
fn num_vertex_faces(&self) -> usize
fn num_vertex_faces(&self) -> usize
Topology quantifier. Number of connectors in total.
fn num_faces_at_vertex<I>(&self, i: I) -> usize where
I: Copy + Into<VertexIndex>,
fn num_faces_at_vertex<I>(&self, i: I) -> usize where
I: Copy + Into<VertexIndex>,
Topology quantifier. Number of connectors at a particular element.
Provided methods
fn vertex_to_face<I>(&self, i: I, k: usize) -> Option<FaceIndex> where
I: Copy + Into<VertexIndex>,
fn vertex_to_face<I>(&self, i: I, k: usize) -> Option<FaceIndex> where
I: Copy + Into<VertexIndex>,
Index of the destination element from the source index.