From 987d1940a14cd6c3aae6a10d32f9b7bd7fca5aa6 Mon Sep 17 00:00:00 2001 From: Ester Ezra Date: Thu, 24 May 2001 18:12:16 +0000 Subject: [PATCH] This is the global function the user will call in order to construct a container of all the disjoint interior sub curves induced by sweeping the curves input. This function only calls to the appropiate method defined in the class Sweep_curves_to_subcurves. --- .../sweep_to_produce_planar_map_subcurves.h | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Packages/Arrangement/include/CGAL/sweep_to_produce_planar_map_subcurves.h diff --git a/Packages/Arrangement/include/CGAL/sweep_to_produce_planar_map_subcurves.h b/Packages/Arrangement/include/CGAL/sweep_to_produce_planar_map_subcurves.h new file mode 100644 index 00000000000..7e563ad3136 --- /dev/null +++ b/Packages/Arrangement/include/CGAL/sweep_to_produce_planar_map_subcurves.h @@ -0,0 +1,40 @@ +#ifndef SWEEP_TO_PRODUCE_PLANAR_MAP_SUBCURVES_H +#define SWEEP_TO_PRODUCE_PLANAR_MAP_SUBCURVES_H + +#ifndef CGAL_BASIC_H +#include +#endif + +#ifndef CGAL_SWEEP_CURVES_TO_SUBCURVES_H +#include +#endif + +CGAL_BEGIN_NAMESPACE + +template +void sweep_to_produce_planar_map_subcurves(Curve_iterator curves_begin, + Curve_iterator curves_end, + Traits& traits, + Container &subcurves, + bool overlapping = false) +{ + Sweep_curves_to_subcurves sweep_line; + + sweep_line.sweep_curves_to_subcurves(curves_begin, curves_end, + subcurves, overlapping); +} + +/*template + void sweep_curves_to_pm(Curve_iterator curves_begin, Curve_iterator curves_end, PM &result, Notifier* notifier) + { + Sweep_line sweep_line; + + sweep_line.sweep_curves_to_pm(curves_begin, curves_end, result, notifier); + }*/ + +CGAL_END_NAMESPACE + +#endif + + +