Commit aa91db49 authored by Mike Kremer's avatar Mike Kremer

Refactored deletion functions for all entities since they were buggy.

They should now gather the right incident higher-dimensional entities before
the deletion of an entity. Those incident higher-dim entities have to be deleted
first (with descending handle index).

git-svn-id: 66977474-1d4b-4f09-8fe9-267525286df2
parent 6b75f720
This diff is collapsed.
......@@ -358,6 +358,25 @@ public:
virtual CellIter delete_cell(const CellHandle& _h);
template <class ContainerT>
void get_incident_edges(const ContainerT& _vs, std::set<EdgeHandle>& _es) const;
template <class ContainerT>
void get_incident_faces(const ContainerT& _es, std::set<FaceHandle>& _fs) const;
template <class ContainerT>
void get_incident_cells(const ContainerT& _fs, std::set<CellHandle>& _cs) const;
VertexIter delete_vertex_core(const VertexHandle& _h);
EdgeIter delete_edge_core(const EdgeHandle& _h);
FaceIter delete_face_core(const FaceHandle& _h);
CellIter delete_cell_core(const CellHandle& _h);
virtual void delete_multiple_vertices(const std::vector<bool>& _tag);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment