BWAPI
|
#include <Arr_overlay_traits_2.h>
Public Member Functions | |
Comparison_result | operator() (const Point_2 &p1, const Point_2 &p2) const |
Protected Member Functions | |
Compare_xy_2 (const Base_compare_xy_2 &base) | |
Protected Attributes | |
Base_compare_xy_2 | m_base_cmp_xy |
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. |
A functor that compares two points lexigoraphically: by x, then by y.
Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Compare_xy_2::Compare_xy_2 | ( | const Base_compare_xy_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.
Comparison_result Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Compare_xy_2::operator() | ( | const Point_2 & | p1, |
const Point_2 & | p2 | ||
) | const [inline] |
friend class Arr_overlay_traits_2< Traits_2,Arrangement_red_2,Arrangement_blue_2 > [friend] |
Allow its functor obtaining function calling the protected constructor.
Base_compare_xy_2 Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Compare_xy_2::m_base_cmp_xy [protected] |
The base operator.