Function

CGAL::remove_curve

Definition

The function remove_curve removes a given curve from a given arrangement.

#include <CGAL/Arrangement_with_history_2.h>

template <class Traits, class Dcel>
Size
remove_curve ( Arrangement_with_history_2<Traits,Dcel>& arr,
typename Arrangement_with_history_2<Traits,Dcel>::Curve_handle ch)
remove_curve removes a curve, specified by its handle ch, from the arrangement arr, by deleting all the edges it induces. The function returns the number of deleted edges.