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

Method count_non_manifold_edges

splashsurf_lib/src/mesh.rs:700–705  ·  view source on GitHub ↗

Returns the number of non-manifold edges (i.e. edges with more than 2 incident face)

(&self)

Source from the content-addressed store, hash-verified

698
699 /// Returns the number of non-manifold edges (i.e. edges with more than 2 incident face)
700 pub fn count_non_manifold_edges(&self) -> usize {
701 self.edge_counts
702 .values()
703 .filter(|(_, count)| *count > 2)
704 .count()
705 }
706
707 /// Iterator over all boundary edges
708 pub fn boundary_edges(&self) -> impl Iterator<Item = [usize; 2]> + '_ {

Callers

nothing calls this directly

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected