MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/splashsurf / boundary_edges

Method boundary_edges

splashsurf_lib/src/mesh.rs:708–713  ·  view source on GitHub ↗

Iterator over all boundary edges

(&self)

Source from the content-addressed store, hash-verified

706
707 /// Iterator over all boundary edges
708 pub fn boundary_edges(&self) -> impl Iterator<Item = [usize; 2]> + '_ {
709 self.edge_counts
710 .values()
711 .filter(|(_, count)| *count == 1)
712 .map(move |(edge_idx, _)| self.edge_info[*edge_idx].0)
713 }
714
715 /// Iterator over all non-manifold edges
716 pub fn non_manifold_edges(&self) -> impl Iterator<Item = [usize; 2]> + '_ {

Callers 1

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected