[−][src]Trait gut::mesh::topology::FaceVertex
Required methods
fn face_to_vertex<I>(&self, i: I, k: usize) -> Option<VertexIndex> where
I: Copy + Into<FaceIndex>,
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>,
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>,
I: Copy + Into<FaceIndex>,
Topology quantifier. Number of connectors at a particular element.
Provided methods
fn reverse_topo(&self) -> (Vec<usize>, Vec<usize>) where
Self: NumFaces + NumVertices,
Self: NumFaces + NumVertices,
Generate the reverse topology structure.
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]
FI: Copy + Into<FaceIndex>,
Given the index of a polygonal face fidx
, return the index of the vertex the which
th
vertex within the face.
fn face_vertex<FI>(&self, fidx: FI, which: usize) -> Option<FaceVertexIndex> where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,
fn num_face_vertices(&self) -> usize
[src]
fn num_vertices_at_face<FI>(&self, fidx: FI) -> usize where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,
impl<T: Real> FaceVertex for QuadMesh<T>
[src]
fn face_to_vertex<FI>(&self, fidx: FI, which: usize) -> Option<VertexIndex> where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,
fn face_vertex<FI>(&self, fidx: FI, which: usize) -> Option<FaceVertexIndex> where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,
fn num_face_vertices(&self) -> usize
[src]
fn num_vertices_at_face<FI>(&self, _: FI) -> usize where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,
impl<T: Real> FaceVertex for QuadMeshExt<T>
[src]
fn face_to_vertex<FI>(&self, fidx: FI, which: usize) -> Option<VertexIndex> where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,
fn face_vertex<FI>(&self, fidx: FI, which: usize) -> Option<FaceVertexIndex> where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,
fn num_face_vertices(&self) -> usize
[src]
fn num_vertices_at_face<FI>(&self, fidx: FI) -> usize where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,
impl<T: Real> FaceVertex for TriMesh<T>
[src]
fn face_to_vertex<FI>(&self, fidx: FI, which: usize) -> Option<VertexIndex> where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,
fn face_vertex<FI>(&self, fidx: FI, which: usize) -> Option<FaceVertexIndex> where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,
fn num_face_vertices(&self) -> usize
[src]
fn num_vertices_at_face<FI>(&self, _: FI) -> usize where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,
impl<T: Real> FaceVertex for TriMeshExt<T>
[src]
fn face_to_vertex<FI>(&self, fidx: FI, which: usize) -> Option<VertexIndex> where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,
fn face_vertex<FI>(&self, fidx: FI, which: usize) -> Option<FaceVertexIndex> where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,
fn num_face_vertices(&self) -> usize
[src]
fn num_vertices_at_face<FI>(&self, fidx: FI) -> usize where
FI: Copy + Into<FaceIndex>,
[src]
FI: Copy + Into<FaceIndex>,