The function insert_x_monotone_curves inserts a set of x-monotone curves in a given range into a given arrangement. The insertion is performed in an aggregated manner, using the sweep-line algorithm.
#include <CGAL/Arrangement_2.h>