Added 'remove' function with iterator input

This commit is contained in:
Iordan Iordanov 2018-12-27 21:12:59 +01:00
parent bda63046e1
commit cf5e7f0691
1 changed files with 9 additions and 0 deletions

View File

@ -291,6 +291,15 @@ public:
bool remove(Vertex_handle v);
template <class VertexRemoveIterator>
void remove(VertexRemoveIterator first, VertexRemoveIterator last)
{
for (VertexRemoveIterator vit = first; vit != last; ++vit)
{
remove(*vit);
}
}
bool is_dummy_vertex(Vertex_handle vh) const
{
for(std::size_t i=0; i<dummy_points.size(); ++i)