BWAPI
SPAR/AIModule/BWTA/vendors/CGAL/CGAL/Arr_topology_traits/Arr_bounded_planar_insertion_helper.h
Go to the documentation of this file.
00001 // Copyright (c) 2006  Tel-Aviv University (Israel).
00002 // All rights reserved.
00003 //
00004 // This file is part of CGAL (www.cgal.org); you may redistribute it under
00005 // the terms of the Q Public License version 1.0.
00006 // See the file LICENSE.QPL distributed with CGAL.
00007 //
00008 // Licensees holding a valid commercial license may use this file in
00009 // accordance with the commercial license agreement provided with the software.
00010 //
00011 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00012 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00013 //
00014 // $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.5-branch/Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_insertion_helper.h $
00015 // $Id: Arr_bounded_planar_insertion_helper.h 33612 2006-08-24 07:05:20Z wein $
00016 // 
00017 //
00018 // Author(s)     : Baruch Zukerman <baruchzu@post.tau.ac.il>
00019 //                 Ron Wein <wein@post.tau.ac.il>
00020 
00021 #ifndef CGAL_ARR_BOUNDED_PLANAR_INSERTION_HELPER_H
00022 #define CGAL_ARR_BOUNDED_PLANAR_INSERTION_HELPER_H
00023 
00028 #include <CGAL/Sweep_line_2/Arr_construction_sl_visitor.h>
00029 #include <CGAL/Arr_topology_traits/Arr_bounded_planar_construction_helper.h>
00030 
00031 CGAL_BEGIN_NAMESPACE
00032 
00038 template <class Traits_, class Arrangement_, class Event_, class Subcurve_> 
00039 class Arr_bounded_planar_insertion_helper :
00040   public Arr_bounded_planar_construction_helper<Traits_, Arrangement_,
00041                                                 Event_, Subcurve_>
00042 {
00043 public:
00044 
00045   typedef Traits_                                      Traits_2;
00046   typedef Arrangement_                                 Arrangement_2;
00047   typedef Event_                                       Event;
00048   typedef Subcurve_                                    Subcurve;
00049 
00050   typedef typename Traits_2::X_monotone_curve_2        X_monotone_curve_2;
00051   typedef typename Traits_2::Point_2                   Point_2;
00052 
00053   typedef Arr_bounded_planar_construction_helper<Traits_2,
00054                                              Arrangement_2,
00055                                              Event,
00056                                              Subcurve> Base;
00057 
00058   typedef Sweep_line_empty_visitor<Traits_2,
00059                                    Subcurve,
00060                                    Event>              Base_visitor;
00061 
00062   typedef Arr_bounded_planar_insertion_helper<Traits_2,
00063                                           Arrangement_2,
00064                                           Event,
00065                                           Subcurve>    Self;
00066 
00067   typedef Arr_construction_sl_visitor<Self>            Parent_visitor;
00068 
00069   typedef typename Arrangement_2::Face_handle          Face_handle;
00070 
00071   typedef typename Base::Indices_list                  Indices_list;
00072   typedef typename Base::Halfedge_indices_map          Halfedge_indices_map;
00073 
00074 public:
00075  
00077   Arr_bounded_planar_insertion_helper (Arrangement_2 *arr) :
00078     Base (arr)
00079   {}
00080 };
00081 
00082 CGAL_END_NAMESPACE
00083 
00084 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines