MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / has_edge_with_odd_adj_faces

Method has_edge_with_odd_adj_faces

tools/MeshUtils/MeshChecker.cpp:120–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120bool 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
129size_t MeshChecker::get_num_boundary_edges() const {
130 return m_boundary_edges.rows();

Callers 1

TEST_FFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.64