Trait meshx::mesh::topology::FaceEdge

source ·
pub trait FaceEdge {
    // Required methods
    fn edge<I>(&self, i: I) -> EdgeIndex
       where I: Copy + Into<FaceEdgeIndex>;
    fn face_edge<I>(&self, i: I, k: usize) -> Option<FaceEdgeIndex>
       where I: Copy + Into<FaceIndex>;
    fn num_face_edges(&self) -> usize;
    fn num_edges_at_face<I>(&self, i: I) -> usize
       where I: Copy + Into<FaceIndex>;

    // Provided method
    fn face_to_edge<I>(&self, i: I, k: usize) -> Option<EdgeIndex>
       where I: Copy + Into<FaceIndex> { ... }
}

Required Methods§

source

fn edge<I>(&self, i: I) -> EdgeIndex
where I: Copy + Into<FaceEdgeIndex>,

Index of the destination element given the topology index.

source

fn face_edge<I>(&self, i: I, k: usize) -> Option<FaceEdgeIndex>
where I: Copy + Into<FaceIndex>,

Toplogy index: where the data lives in an attribute array.

source

fn num_face_edges(&self) -> usize

Topology quantifier. Number of connectors in total.

source

fn num_edges_at_face<I>(&self, i: I) -> usize
where I: Copy + Into<FaceIndex>,

Topology quantifier. Number of connectors at a particular element.

Provided Methods§

source

fn face_to_edge<I>(&self, i: I, k: usize) -> Option<EdgeIndex>
where I: Copy + Into<FaceIndex>,

Index of the destination element from the source index.

Object Safety§

This trait is not object safe.

Implementors§