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

Method is_closed

python/pymesh/Mesh.py:169–175  ·  view source on GitHub ↗

Return true iff this mesh is closed. A closed mesh constains no border. I.e. all edges have at least 2 incident faces.

(self)

Source from the content-addressed store, hash-verified

167 return self._extra_info.is_edge_manifold()
168
169 def is_closed(self):
170 """ Return true iff this mesh is closed.
171
172 A closed mesh constains no border. I.e. all edges have at least 2
173 incident faces.
174 """
175 return self._extra_info.is_closed()
176
177 def is_oriented(self):
178 """ Return true iff the mesh is consistently oriented.

Callers 15

test_simpleMethod · 0.45
test_coplanarMethod · 0.45
test_near_coplanarMethod · 0.45
test_chainMethod · 0.45
test_separated_shapesMethod · 0.45
test_edge_edge_touchMethod · 0.45
test_face_face_touchMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_simpleMethod · 0.36
test_coplanarMethod · 0.36
test_near_coplanarMethod · 0.36
test_chainMethod · 0.36
test_separated_shapesMethod · 0.36
test_edge_edge_touchMethod · 0.36
test_face_face_touchMethod · 0.36