BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends
Arr_geodesic_arc_on_sphere_traits_2< T_Kernel >::Equal_2 Class Reference

#include <Arr_geodesic_arc_on_sphere_traits_2.h>

Collaboration diagram for Arr_geodesic_arc_on_sphere_traits_2< T_Kernel >::Equal_2:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool operator() (const X_monotone_curve_2 &xc1, const X_monotone_curve_2 &xc2) const
bool operator() (const Point_2 &p1, const Point_2 &p2) const

Protected Types

typedef
Arr_geodesic_arc_on_sphere_traits_2
< Kernel
Traits

Protected Member Functions

 Equal_2 (const Traits *traits)

Protected Attributes

const Traitsm_traits

Friends

class Arr_geodesic_arc_on_sphere_traits_2< Kernel >

Detailed Description

template<typename T_Kernel>
class Arr_geodesic_arc_on_sphere_traits_2< T_Kernel >::Equal_2

A functor that checks whether two directional points and two x-monotone arcs are identical.


Member Typedef Documentation

template<typename T_Kernel >
typedef Arr_geodesic_arc_on_sphere_traits_2<Kernel> Arr_geodesic_arc_on_sphere_traits_2< T_Kernel >::Equal_2::Traits [protected]

Constructor & Destructor Documentation

template<typename T_Kernel >
Arr_geodesic_arc_on_sphere_traits_2< T_Kernel >::Equal_2::Equal_2 ( const Traits traits) [inline, protected]

Constructor

Parameters:
traitsthe traits (in case it has state)

Member Function Documentation

template<typename T_Kernel >
bool Arr_geodesic_arc_on_sphere_traits_2< T_Kernel >::Equal_2::operator() ( const X_monotone_curve_2 xc1,
const X_monotone_curve_2 xc2 
) const [inline]

Determines whether the two x-monotone curves are the same (have the same graph).

Parameters:
xc1the first curve.
xc2the second curve.
Returns:
true if the two curves are the same; false otherwise.

Here is the call graph for this function:

template<typename T_Kernel >
bool Arr_geodesic_arc_on_sphere_traits_2< T_Kernel >::Equal_2::operator() ( const Point_2 p1,
const Point_2 p2 
) const [inline]

Determines whether the two points are the same.

Parameters:
p1the first point.
p2the second point.
Returns:
true if the two point are the same; false otherwise.

Friends And Related Function Documentation

template<typename T_Kernel >
friend class Arr_geodesic_arc_on_sphere_traits_2< Kernel > [friend]

Member Data Documentation

template<typename T_Kernel >
const Traits* Arr_geodesic_arc_on_sphere_traits_2< T_Kernel >::Equal_2::m_traits [protected]

The traits (in case it has state)


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