Skip to content

Commit

Permalink
note
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanmele committed Nov 1, 2024
1 parent c152e42 commit 0d96709
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions src/compas/datastructures/volmesh/volmesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -1032,17 +1032,12 @@ def delete_cell(self, cell):
--------
:meth:`delete_vertex`, :meth:`delete_halfface`
"""
# @gonzalo: perhaps vertices should not be removed implicitly
# we could add a flag or leave it entirely up to the user
# with something like remove_unused_vertices

# cell_vertices = self.cell_vertices(cell)
# remove vertex data
# for vertex in cell_vertices:
# if len(self.vertex_cells(vertex)) == 1:
# del self._vertex[vertex]
Notes
-----
Remaining unused vertices are not automatically deleted.
Use :meth:`remove_unused_vertices` to accomplish this.
"""
cell_faces = self.cell_faces(cell)

# remove edge data
Expand Down

0 comments on commit 0d96709

Please sign in to comment.