Trait gut::VertexEdge [−][src]
pub trait VertexEdge {
fn edge<I>(&self, i: I) -> EdgeIndex
where
I: Copy + Into<VertexEdgeIndex>;
fn vertex_edge<I>(&self, i: I, k: usize) -> Option<VertexEdgeIndex>
where
I: Copy + Into<VertexIndex>;
fn num_vertex_edges(&self) -> usize;
fn num_edges_at_vertex<I>(&self, i: I) -> usize
where
I: Copy + Into<VertexIndex>;
fn vertex_to_edge<I>(&self, i: I, k: usize) -> Option<EdgeIndex>
where
I: Copy + Into<VertexIndex>,
{ ... }
}
Required methods
Index of the destination element given the topology index.
fn vertex_edge<I>(&self, i: I, k: usize) -> Option<VertexEdgeIndex> where
I: Copy + Into<VertexIndex>,
fn vertex_edge<I>(&self, i: I, k: usize) -> Option<VertexEdgeIndex> where
I: Copy + Into<VertexIndex>,
Toplogy index: where the data lives in an attribute array.
fn num_vertex_edges(&self) -> usize
fn num_vertex_edges(&self) -> usize
Topology quantifier. Number of connectors in total.
fn num_edges_at_vertex<I>(&self, i: I) -> usize where
I: Copy + Into<VertexIndex>,
fn num_edges_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_edge<I>(&self, i: I, k: usize) -> Option<EdgeIndex> where
I: Copy + Into<VertexIndex>,
fn vertex_to_edge<I>(&self, i: I, k: usize) -> Option<EdgeIndex> where
I: Copy + Into<VertexIndex>,
Index of the destination element from the source index.