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

Method count_boundary_edges

splashsurf_lib/src/mesh.rs:692–697  ·  view source on GitHub ↗

Returns the number of boundary edges (i.e. edges with 1 incident face)

(&self)

Source from the content-addressed store, hash-verified

690
691 /// Returns the number of boundary edges (i.e. edges with 1 incident face)
692 pub fn count_boundary_edges(&self) -> usize {
693 self.edge_counts
694 .values()
695 .filter(|(_, count)| *count == 1)
696 .count()
697 }
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 {

Callers

nothing calls this directly

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected