Returns the number of boundary edges (i.e. edges with 1 incident face)
(&self)
| 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 { |