diff --git a/.gitattributes b/.gitattributes index 42151540073..bd5126d72bc 100644 --- a/.gitattributes +++ b/.gitattributes @@ -367,6 +367,7 @@ Arrangement_2/doc_tex/Sweep_line_2/sl_simple.ps -text svneol=unset#application/p Arrangement_2/examples/Arrangement_2/Bezier.dat -text Arrangement_2/examples/Arrangement_2/coll_points.dat -text Arrangement_2/examples/Arrangement_2/points.dat -text +Arrangement_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_construction_helper.h -text Arrangement_2/include/CGAL/Arrangement_2/Arr_compute_zone_visitor.h -text Arrangement_2/include/CGAL/Arrangement_2/Arr_do_intersect_zone_visitor.h -text Arrangement_2/test/Arrangement_2/cgal_test eol=lf diff --git a/Arrangement_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_construction_helper.h b/Arrangement_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_construction_helper.h new file mode 100644 index 00000000000..80744b4ee25 --- /dev/null +++ b/Arrangement_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_construction_helper.h @@ -0,0 +1,65 @@ +// Copyright (c) 2006 Tel-Aviv University (Israel). +// All rights reserved. +// +// This file is part of CGAL (www.cgal.org); you may redistribute it under +// the terms of the Q Public License version 1.0. +// See the file LICENSE.QPL distributed with CGAL. +// +// Licensees holding a valid commercial license may use this file in +// accordance with the commercial license agreement provided with the software. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +// +// $URL: svn+ssh://golubevs@scm.gforge.inria.fr/svn/cgal/branches/experimental-packages/Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_construction_helper.h $ +// $Id: Arr_bounded_planar_construction_helper.h 34244 2006-09-14 13:14:21Z wein $ +// +// +// Author(s) : Baruch Zukerman +// Ron Wein + +#ifndef CGAL_ARR_BOUNDED_PLANAR_CONSTRUCTION_HELPER_H +#define CGAL_ARR_BOUNDED_PLANAR_CONSTRUCTION_HELPER_H + +/*! + * Definition of the Arr_bounded_planar_construction_helper class-template. + */ + +#include +#include + +CGAL_BEGIN_NAMESPACE + +/*! \class Arr_bounded_planar_construction_helper + * A helper class for the construction sweep-line visitor, suitable + * for an Arrangement_on_surface_2 instantiated with a topology-traits class + * for bounded curves in the plane. + */ +template +class Arr_bounded_planar_construction_helper +{ +public: + + typedef Traits_ Traits_2; + typedef Arrangement_ Arrangement_2; + typedef Event_ Event; + typedef Subcurve_ Subcurve; + + typedef Sweep_line_empty_visitor Base_visitor; +public: + + /*! Constructor. */ + Arr_bounded_planar_construction_helper(Arrangement_2 *arr=0) + {} + + /*! Destructor. */ + virtual ~Arr_bounded_planar_construction_helper() + {} + +}; + +CGAL_END_NAMESPACE + +#endif