Trait gut::VertexCell [−][src]
pub trait VertexCell {
fn cell<I>(&self, i: I) -> CellIndex
where
I: Copy + Into<VertexCellIndex>;
fn vertex_cell<I>(&self, i: I, k: usize) -> Option<VertexCellIndex>
where
I: Copy + Into<VertexIndex>;
fn num_vertex_cells(&self) -> usize;
fn num_cells_at_vertex<I>(&self, i: I) -> usize
where
I: Copy + Into<VertexIndex>;
fn vertex_to_cell<I>(&self, i: I, k: usize) -> Option<CellIndex>
where
I: Copy + Into<VertexIndex>,
{ ... }
}
Required methods
Index of the destination element given the topology index.
fn vertex_cell<I>(&self, i: I, k: usize) -> Option<VertexCellIndex> where
I: Copy + Into<VertexIndex>,
fn vertex_cell<I>(&self, i: I, k: usize) -> Option<VertexCellIndex> where
I: Copy + Into<VertexIndex>,
Toplogy index: where the data lives in an attribute array.
fn num_vertex_cells(&self) -> usize
fn num_vertex_cells(&self) -> usize
Topology quantifier. Number of connectors in total.
fn num_cells_at_vertex<I>(&self, i: I) -> usize where
I: Copy + Into<VertexIndex>,
fn num_cells_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_cell<I>(&self, i: I, k: usize) -> Option<CellIndex> where
I: Copy + Into<VertexIndex>,
fn vertex_to_cell<I>(&self, i: I, k: usize) -> Option<CellIndex> where
I: Copy + Into<VertexIndex>,
Index of the destination element from the source index.