BWAPI
Public Types | Public Member Functions | Protected Attributes
Arr_overlay_subcurve< Traits_ > Class Template Reference

#include <Arr_overlay_subcurve.h>

Inheritance diagram for Arr_overlay_subcurve< Traits_ >:
Inheritance graph
[legend]
Collaboration diagram for Arr_overlay_subcurve< Traits_ >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Traits_ Traits_2
typedef Traits_2::Point_2 Point_2
typedef
Traits_2::X_monotone_curve_2 
X_monotone_curve_2
typedef
Arr_construction_subcurve
< Traits_2
Base
typedef Arr_overlay_subcurve
< Traits_2
Self
typedef Base::Status_line_iterator Status_line_iterator
typedef Traits_2::Color Color
typedef
Traits_2::Halfedge_handle_red 
Halfedge_handle_red
typedef Traits_2::Face_handle_red Face_handle_red
typedef Face_handle_red::value_type Face_red
typedef
Traits_2::Halfedge_handle_blue 
Halfedge_handle_blue
typedef Traits_2::Face_handle_blue Face_handle_blue
typedef
Face_handle_blue::value_type 
Face_blue
typedef Sweep_line_event
< Traits_2, Self
Event

Public Member Functions

 Arr_overlay_subcurve ()
 Arr_overlay_subcurve (const X_monotone_curve_2 &curve)
Selfsubcurve_above () const
void set_subcurve_above (Self *sc)
Color color () const
bool has_same_color (const Self *sc) const
Halfedge_handle_red red_halfedge_handle () const
Halfedge_handle_blue blue_halfedge_handle () const
const Face_handle_red red_top_face () const
const Face_handle_blue blue_top_face () const
void set_red_top_face (Face_handle_red fh)
void set_blue_top_face (Face_handle_blue fh)
void set_top_face (const Self *sc)

Protected Attributes

Selfm_above
union {
   const Face_red *   red
   const Face_blue *   blue
m_top_face

template<class Traits_>
class Arr_overlay_subcurve< Traits_ >


Member Typedef Documentation

template<class Traits_ >
typedef Arr_construction_subcurve<Traits_2> Arr_overlay_subcurve< Traits_ >::Base
template<class Traits_ >
typedef Traits_2::Color Arr_overlay_subcurve< Traits_ >::Color
template<class Traits_ >
typedef Sweep_line_event<Traits_2, Self> Arr_overlay_subcurve< Traits_ >::Event

Reimplemented from Sweep_line_subcurve< Traits_ >.

template<class Traits_ >
typedef Traits_2::Face_handle_blue Arr_overlay_subcurve< Traits_ >::Face_handle_blue
template<class Traits_ >
typedef Traits_2::Face_handle_red Arr_overlay_subcurve< Traits_ >::Face_handle_red
template<class Traits_ >
typedef Face_handle_red::value_type Arr_overlay_subcurve< Traits_ >::Face_red
template<class Traits_ >
typedef Traits_2::Halfedge_handle_blue Arr_overlay_subcurve< Traits_ >::Halfedge_handle_blue
template<class Traits_ >
typedef Traits_2::Halfedge_handle_red Arr_overlay_subcurve< Traits_ >::Halfedge_handle_red
template<class Traits_ >
typedef Traits_2::Point_2 Arr_overlay_subcurve< Traits_ >::Point_2
template<class Traits_ >
typedef Arr_overlay_subcurve<Traits_2> Arr_overlay_subcurve< Traits_ >::Self
template<class Traits_ >
typedef Traits_ Arr_overlay_subcurve< Traits_ >::Traits_2
template<class Traits_ >
typedef Traits_2::X_monotone_curve_2 Arr_overlay_subcurve< Traits_ >::X_monotone_curve_2

Constructor & Destructor Documentation

template<class Traits_ >
Arr_overlay_subcurve< Traits_ >::Arr_overlay_subcurve ( ) [inline]

Constructor.

template<class Traits_ >
Arr_overlay_subcurve< Traits_ >::Arr_overlay_subcurve ( const X_monotone_curve_2 curve) [inline]

constructor given a curve.


Member Function Documentation

template<class Traits_ >
Halfedge_handle_blue Arr_overlay_subcurve< Traits_ >::blue_halfedge_handle ( ) const [inline]

Get the blue halfedge that represents the subcurve.

Here is the caller graph for this function:

template<class Traits_ >
const Face_handle_blue Arr_overlay_subcurve< Traits_ >::blue_top_face ( ) const [inline]

Get the blue top face that contains the subcurve.

template<class Traits_ >
Color Arr_overlay_subcurve< Traits_ >::color ( ) const [inline]

Get the color of the associated curve.

Here is the caller graph for this function:

template<class Traits_ >
bool Arr_overlay_subcurve< Traits_ >::has_same_color ( const Self sc) const [inline]

Check if two subcurves have the same color.

template<class Traits_ >
Halfedge_handle_red Arr_overlay_subcurve< Traits_ >::red_halfedge_handle ( ) const [inline]

Get the red halfedge that represents the subcurve.

Here is the caller graph for this function:

template<class Traits_ >
const Face_handle_red Arr_overlay_subcurve< Traits_ >::red_top_face ( ) const [inline]

Get the red top face that contains the subcurve.

template<class Traits_ >
void Arr_overlay_subcurve< Traits_ >::set_blue_top_face ( Face_handle_blue  fh) [inline]

Set the blue top face.

template<class Traits_ >
void Arr_overlay_subcurve< Traits_ >::set_red_top_face ( Face_handle_red  fh) [inline]

Set the red top face.

template<class Traits_ >
void Arr_overlay_subcurve< Traits_ >::set_subcurve_above ( Self sc) [inline]

Set the subcurve above.

template<class Traits_ >
void Arr_overlay_subcurve< Traits_ >::set_top_face ( const Self sc) [inline]

Copy the top face from the given subcurve.

template<class Traits_ >
Self* Arr_overlay_subcurve< Traits_ >::subcurve_above ( ) const [inline]

Get the subcurve lying above above this subcurve in the status line.


Member Data Documentation

template<class Traits_ >
const Face_blue* Arr_overlay_subcurve< Traits_ >::blue
template<class Traits_ >
Self* Arr_overlay_subcurve< Traits_ >::m_above [protected]
union { ... } Arr_overlay_subcurve< Traits_ >::m_top_face [protected]
template<class Traits_ >
const Face_red* Arr_overlay_subcurve< Traits_ >::red

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