Struct flexmesh::Edge
[−]
[src]
pub struct Edge<EData> { pub edata: EData, // some fields omitted }
Fields
edata: EData
Methods
impl<EData> Edge<EData>
[src]
fn is_face_adjacent(&self, fk: FKey) -> bool
Check if the face is in the set of edges adjacent to this edge.
fn get_verts(&self) -> &[VKey; 2]
fn get_faces(&self) -> &Vec<FKey>
fn other_vert(&self, vk: VKey) -> Option<VKey>
Given one of the edge's verts, return the other one. If the input is not one if the edge's verts, return None.