CGAL::insert_curves

Definition

The function insert_curves aggregately inserts curves in a given range into a given arrangement, where no restrictions are made on the nature of the inserted curves. The input curves are subdivided into x-monotone subcurves (and perhaps isolated points), which are inserted into the arrangement using the sweep-line algorithm.

#include <CGAL/Arrangement_2.h>

template<class Traits, class Dcel, InputIterator>
void insert_curves ( Arrangement_2<Traits,Dcel>& arr, InputIterator first, InputIterator last)
Inserts the curves in the range [first,last) into the arrangement arr.

#include <CGAL/Arrangement_with_history_2.h>

template<class Traits, class Dcel, InputIterator>
void
insert_curves ( Arrangement_with_history_2<Traits,Dcel>& arr,
InputIterator first,
InputIterator last)
Inserts the curves in the range [first,last) into the arrangement with history arr.

Requirements