Skip to content

Commit 0d96709

Browse files
committed
note
1 parent c152e42 commit 0d96709

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/compas/datastructures/volmesh/volmesh.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,17 +1032,12 @@ def delete_cell(self, cell):
10321032
--------
10331033
:meth:`delete_vertex`, :meth:`delete_halfface`
10341034
1035-
"""
1036-
# @gonzalo: perhaps vertices should not be removed implicitly
1037-
# we could add a flag or leave it entirely up to the user
1038-
# with something like remove_unused_vertices
1039-
1040-
# cell_vertices = self.cell_vertices(cell)
1041-
# remove vertex data
1042-
# for vertex in cell_vertices:
1043-
# if len(self.vertex_cells(vertex)) == 1:
1044-
# del self._vertex[vertex]
1035+
Notes
1036+
-----
1037+
Remaining unused vertices are not automatically deleted.
1038+
Use :meth:`remove_unused_vertices` to accomplish this.
10451039
1040+
"""
10461041
cell_faces = self.cell_faces(cell)
10471042

10481043
# remove edge data

0 commit comments

Comments
 (0)