BWAPI
|
#include <Arr_basic_insertion_traits_2.h>
Public Member Functions | |
bool | operator() (const X_monotone_curve_2 &xcv1, const X_monotone_curve_2 &xcv2) const |
bool | operator() (const Point_2 &p1, const Point_2 &p2) const |
Protected Member Functions | |
Equal_2 (const Base_equal_2 &base) | |
Protected Attributes | |
Base_equal_2 | m_base_eq |
Friends | |
class | Arr_basic_insertion_traits_2< Traits_, Arrangement_ > |
Allow its functor obtaining function calling the private constructor. |
A functor that checks whether two points and two x-monotone curves are identical.
Arr_basic_insertion_traits_2< Traits_, Arrangement_ >::Equal_2::Equal_2 | ( | const Base_equal_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.
bool Arr_basic_insertion_traits_2< Traits_, Arrangement_ >::Equal_2::operator() | ( | const X_monotone_curve_2 & | xcv1, |
const X_monotone_curve_2 & | xcv2 | ||
) | const [inline] |
Check if two curves are the same.
bool Arr_basic_insertion_traits_2< Traits_, Arrangement_ >::Equal_2::operator() | ( | const Point_2 & | p1, |
const Point_2 & | p2 | ||
) | const [inline] |
Check if the two points are the same.
friend class Arr_basic_insertion_traits_2< Traits_, Arrangement_ > [friend] |
Allow its functor obtaining function calling the private constructor.
Base_equal_2 Arr_basic_insertion_traits_2< Traits_, Arrangement_ >::Equal_2::m_base_eq [protected] |