BWAPI
Public Types | Public Member Functions
Arr_do_intersect_zone_visitor< Arrangement_ > Class Template Reference

#include <Arr_do_intersect_zone_visitor.h>

List of all members.

Public Types

typedef Arrangement_ Arrangement_2
typedef
Arrangement_2::Vertex_handle 
Vertex_handle
typedef
Arrangement_2::Halfedge_handle 
Halfedge_handle
typedef Arrangement_2::Face_handle Face_handle
typedef Arrangement_2::Point_2 Point_2
typedef
Arrangement_2::X_monotone_curve_2 
X_monotone_curve_2
typedef std::pair
< Halfedge_handle, bool > 
Result

Public Member Functions

 Arr_do_intersect_zone_visitor ()
void init (Arrangement_2 *)
Result found_subcurve (const X_monotone_curve_2 &, Face_handle, Vertex_handle left_v, Halfedge_handle left_he, Vertex_handle right_v, Halfedge_handle right_he)
Result found_overlap (const X_monotone_curve_2 &, Halfedge_handle, Vertex_handle, Vertex_handle)
bool do_intersect () const

template<class Arrangement_>
class Arr_do_intersect_zone_visitor< Arrangement_ >


Member Typedef Documentation

template<class Arrangement_ >
typedef Arrangement_ Arr_do_intersect_zone_visitor< Arrangement_ >::Arrangement_2
template<class Arrangement_ >
typedef Arrangement_2::Face_handle Arr_do_intersect_zone_visitor< Arrangement_ >::Face_handle
template<class Arrangement_ >
typedef Arrangement_2::Halfedge_handle Arr_do_intersect_zone_visitor< Arrangement_ >::Halfedge_handle
template<class Arrangement_ >
typedef Arrangement_2::Point_2 Arr_do_intersect_zone_visitor< Arrangement_ >::Point_2
template<class Arrangement_ >
typedef std::pair<Halfedge_handle, bool> Arr_do_intersect_zone_visitor< Arrangement_ >::Result
template<class Arrangement_ >
typedef Arrangement_2::Vertex_handle Arr_do_intersect_zone_visitor< Arrangement_ >::Vertex_handle
template<class Arrangement_ >
typedef Arrangement_2::X_monotone_curve_2 Arr_do_intersect_zone_visitor< Arrangement_ >::X_monotone_curve_2

Constructor & Destructor Documentation

template<class Arrangement_ >
Arr_do_intersect_zone_visitor< Arrangement_ >::Arr_do_intersect_zone_visitor ( ) [inline]

Constructor.


Member Function Documentation

template<class Arrangement_ >
bool Arr_do_intersect_zone_visitor< Arrangement_ >::do_intersect ( ) const [inline]
template<class Arrangement_ >
Result Arr_do_intersect_zone_visitor< Arrangement_ >::found_overlap ( const X_monotone_curve_2 ,
Halfedge_handle  ,
Vertex_handle  ,
Vertex_handle   
) [inline]

Handle the a subcurve that overlaps a given edge.

Parameters:
cvThe overlapping subcurve.
heThe overlapped halfedge (directed from left to right).
left_vThe vertex that corresponds to the left endpoint of cv (or an invalid handle if no such arrangement vertex exists).
right_vThe vertex that corresponds to the right endpoint of cv (or an invalid handle if no such arrangement vertex exists).
Returns:
A handle to the halfedge obtained from the insertion of the overlapping subcurve into the arrangement.
template<class Arrangement_ >
Result Arr_do_intersect_zone_visitor< Arrangement_ >::found_subcurve ( const X_monotone_curve_2 ,
Face_handle  ,
Vertex_handle  left_v,
Halfedge_handle  left_he,
Vertex_handle  right_v,
Halfedge_handle  right_he 
) [inline]

Handle the a subcurve located in the interior of a given face.

Parameters:
cvThe subcurve.
faceThe face containing cv's interior.
left_vThe vertex that corresponds to the left endpoint of cv (or an invalid handle if no such arrangement vertex exists).
left_heThe halfedge that contains the left endpoint of cv (or an invalid handle if no such halfedge exists).
right_vThe vertex that corresponds to the right endpoint of cv (or an invalid handle if no such arrangement vertex exists).
right_heThe halfedge that contains the right endpoint of cv (or an invalid handle if no such halfedge exists).
Returns:
A handle to the halfedge obtained from the insertion of the subcurve into the arrangement.
template<class Arrangement_ >
void Arr_do_intersect_zone_visitor< Arrangement_ >::init ( Arrangement_2 ) [inline]

Initialize the visitor with an arrangement object.


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