Returns the number of non-manifold edges (i.e. edges with more than 2 incident face)
(&self)
| 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]> + '_ { |