CGAL::remove_vertex

#include <CGAL/Arrangement_2.h>

template <class Traits, class Dcel>
bool
remove_vertex ( Arrangement_2<Traits,Dcel>& arr,
typename Arrangement_2<Traits,Dcel>::Vertex_handle v)
Tries to removed the vertex v from the given arrangement arr. The vertex can be removed if it is either an isolated vertex and has no incident edge, or if it is a redundant vertex - that is, it has exactly two incident edges whose associated curves can be merged to form a single x-monotone curve. The assumption is that Traits is a model of the refines ArrangementXMonotoneTraits_2, such that it supports merge operations on x-monotone curves. The function returns whether it succeeded in deleting v from the arrangement.