Trait gut::EdgeVertex [−][src]
pub trait EdgeVertex {
fn vertex<I>(&self, i: I) -> VertexIndex
where
I: Copy + Into<EdgeVertexIndex>;
fn edge_vertex<I>(&self, i: I, k: usize) -> Option<EdgeVertexIndex>
where
I: Copy + Into<EdgeIndex>;
fn num_edge_vertices(&self) -> usize;
fn num_vertices_at_edge<I>(&self, i: I) -> usize
where
I: Copy + Into<EdgeIndex>;
fn edge_to_vertex<I>(&self, i: I, k: usize) -> Option<VertexIndex>
where
I: Copy + Into<EdgeIndex>,
{ ... }
}
Required methods
fn vertex<I>(&self, i: I) -> VertexIndex where
I: Copy + Into<EdgeVertexIndex>,
fn vertex<I>(&self, i: I) -> VertexIndex where
I: Copy + Into<EdgeVertexIndex>,
Index of the destination element given the topology index.
fn edge_vertex<I>(&self, i: I, k: usize) -> Option<EdgeVertexIndex> where
I: Copy + Into<EdgeIndex>,
fn edge_vertex<I>(&self, i: I, k: usize) -> Option<EdgeVertexIndex> where
I: Copy + Into<EdgeIndex>,
Toplogy index: where the data lives in an attribute array.
fn num_edge_vertices(&self) -> usize
fn num_edge_vertices(&self) -> usize
Topology quantifier. Number of connectors in total.
Provided methods
fn edge_to_vertex<I>(&self, i: I, k: usize) -> Option<VertexIndex> where
I: Copy + Into<EdgeIndex>,
fn edge_to_vertex<I>(&self, i: I, k: usize) -> Option<VertexIndex> where
I: Copy + Into<EdgeIndex>,
Index of the destination element from the source index.