BWAPI
Public Types | Public Member Functions | Protected Types | Protected Attributes
Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ > Class Template Reference

#include <Arr_bounded_planar_construction_helper.h>

Inheritance diagram for Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >:
Inheritance graph
[legend]
Collaboration diagram for Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Traits_ Traits_2
typedef Arrangement_ Arrangement_2
typedef Event_ Event
typedef Subcurve_ Subcurve
typedef
Traits_2::X_monotone_curve_2 
X_monotone_curve_2
typedef Traits_2::Point_2 Point_2
typedef
Sweep_line_empty_visitor
< Traits_2, Subcurve, Event
Base_visitor
typedef Arrangement_2::Face_handle Face_handle
typedef
Arrangement_2::Halfedge_handle 
Halfedge_handle
typedef
Subcurve::Halfedge_indices_list 
Indices_list
typedef Unique_hash_map
< Halfedge_handle,
Indices_list
Halfedge_indices_map

Public Member Functions

 Arr_bounded_planar_construction_helper (Arrangement_2 *arr)
virtual ~Arr_bounded_planar_construction_helper ()
void set_halfedge_indices_map (Halfedge_indices_map &)
bool swap_predecessors (Event *) const
Face_handle top_face () const
Notification functions.
virtual void before_sweep ()
virtual void before_handle_event (Event *)
virtual void add_subcurve (Halfedge_handle, Subcurve *)
void add_subcurve_in_top_face (unsigned int)
void before_deallocate_event (Event *)

Protected Types

typedef
Arrangement_2::Topology_traits 
Topology_traits

Protected Attributes

Topology_traitsm_top_traits
Face_handle m_unb_face

Detailed Description

template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
class Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >

Definition of the Arr_bounded_planar_construction_helper class-template.

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.


Member Typedef Documentation

template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
typedef Arrangement_ Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::Arrangement_2
template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
typedef Sweep_line_empty_visitor<Traits_2, Subcurve, Event> Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::Base_visitor
template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
typedef Event_ Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::Event
template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
typedef Arrangement_2::Face_handle Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::Face_handle
template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
typedef Arrangement_2::Halfedge_handle Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::Halfedge_handle
template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
typedef Unique_hash_map<Halfedge_handle, Indices_list> Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::Halfedge_indices_map
template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
typedef Subcurve::Halfedge_indices_list Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::Indices_list
template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
typedef Traits_2::Point_2 Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::Point_2
template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
typedef Subcurve_ Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::Subcurve
template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
typedef Arrangement_2::Topology_traits Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::Topology_traits [protected]
template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
typedef Traits_ Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::Traits_2
template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
typedef Traits_2::X_monotone_curve_2 Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::X_monotone_curve_2

Constructor & Destructor Documentation

template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::Arr_bounded_planar_construction_helper ( Arrangement_2 arr) [inline]

Constructor.

template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
virtual Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::~Arr_bounded_planar_construction_helper ( ) [inline, virtual]

Destructor.


Member Function Documentation

template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
virtual void Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::add_subcurve ( Halfedge_handle  ,
Subcurve  
) [inline, virtual]

A notification invoked when a new subcurve is created.

template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
void Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::add_subcurve_in_top_face ( unsigned  int) [inline]

Collect a subcurve index that does not see any status-line from below.

template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
void Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::before_deallocate_event ( Event ) [inline]

A notification invoked before the given event it deallocated.

template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
virtual void Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::before_handle_event ( Event ) [inline, virtual]

A notification invoked before the sweep-line starts handling the given event.

template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
virtual void Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::before_sweep ( ) [inline, virtual]
template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
void Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::set_halfedge_indices_map ( Halfedge_indices_map ) [inline]

Set the map that maps each halfedge to the list of subcurve indices that "see" the halfedge from below.

template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
bool Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::swap_predecessors ( Event ) const [inline]

Determine if we should swap the order of predecessor halfedges when calling insert_at_vertices_ex() .

template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
Face_handle Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::top_face ( ) const [inline]

Get the current top face.


Member Data Documentation

template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
Topology_traits* Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::m_top_traits [protected]
template<class Traits_, class Arrangement_, class Event_, class Subcurve_>
Face_handle Arr_bounded_planar_construction_helper< Traits_, Arrangement_, Event_, Subcurve_ >::m_unb_face [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines