BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Compare_y_at_x_2 Class Reference

#include <Arr_overlay_traits_2.h>

List of all members.

Public Member Functions

Comparison_result operator() (const Point_2 &p, const X_monotone_curve_2 &xcv) const

Protected Member Functions

 Compare_y_at_x_2 (const Base_compare_y_at_x_2 &base)

Protected Attributes

Base_compare_y_at_x_2 m_base_cmp_y_at_x
 The base operator.

Friends

class Arr_overlay_traits_2< Traits_2, Arrangement_red_2, Arrangement_blue_2 >
 Allow its functor obtaining function calling the protected constructor.

Detailed Description

template<typename Traits_, typename ArrangementRed_, typename ArrangementBlue_>
class Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Compare_y_at_x_2

A functor that compares the y-coordinates of a point and an x-monotone curve at the point x-coordinate.


Constructor & Destructor Documentation

template<typename Traits_ , typename ArrangementRed_ , typename ArrangementBlue_ >
Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Compare_y_at_x_2::Compare_y_at_x_2 ( const Base_compare_y_at_x_2 base) [inline, protected]

Constructor. The constructor is declared protected to allow only the functor obtaining function, which is a member of the nesting class, constructing it.


Member Function Documentation

template<typename Traits_ , typename ArrangementRed_ , typename ArrangementBlue_ >
Comparison_result Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Compare_y_at_x_2::operator() ( const Point_2 p,
const X_monotone_curve_2 xcv 
) const [inline]

Here is the call graph for this function:


Friends And Related Function Documentation

template<typename Traits_ , typename ArrangementRed_ , typename ArrangementBlue_ >
friend class Arr_overlay_traits_2< Traits_2,Arrangement_red_2,Arrangement_blue_2 > [friend]

Allow its functor obtaining function calling the protected constructor.


Member Data Documentation

template<typename Traits_ , typename ArrangementRed_ , typename ArrangementBlue_ >
Base_compare_y_at_x_2 Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Compare_y_at_x_2::m_base_cmp_y_at_x [protected]

The base operator.


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