| 118 | } |
| 119 | |
| 120 | bool MeshChecker::has_edge_with_odd_adj_faces() const { |
| 121 | for (auto adj : m_edge_face_adjacency) { |
| 122 | if (adj.second.size() % 2 != 0) { |
| 123 | return true; |
| 124 | } |
| 125 | } |
| 126 | return false; |
| 127 | } |
| 128 | |
| 129 | size_t MeshChecker::get_num_boundary_edges() const { |
| 130 | return m_boundary_edges.rows(); |