BWAPI
|
#include <Arr_batched_point_location_traits_2.h>
Public Member Functions | |
Comparison_result | operator() (const Point_2 &p1, const Point_2 &p2) const |
Protected Member Functions | |
Compare_x_2 (const Base_compare_x_2 &base) | |
Protected Attributes | |
Base_compare_x_2 | m_base_cmp_x |
The base operator. | |
Friends | |
class | Arr_batched_point_location_traits_2< Arrangement_2 > |
Allow its functor obtaining function calling the private constructor. |
A functor that compares the x-coordinates of two points
Arr_batched_point_location_traits_2< Arrangement_ >::Compare_x_2::Compare_x_2 | ( | const Base_compare_x_2 & | base | ) | [inline, protected] |
Constructor. The constructor is declared private to allow only the functor obtaining function, which is a member of the nesting class, constructing it.
Comparison_result Arr_batched_point_location_traits_2< Arrangement_ >::Compare_x_2::operator() | ( | const Point_2 & | p1, |
const Point_2 & | p2 | ||
) | const [inline] |
friend class Arr_batched_point_location_traits_2< Arrangement_2 > [friend] |
Allow its functor obtaining function calling the private constructor.
Base_compare_x_2 Arr_batched_point_location_traits_2< Arrangement_ >::Compare_x_2::m_base_cmp_x [protected] |
The base operator.