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 >::Merge_2 Class Reference

#include <Arr_geodesic_arc_on_sphere_traits_2.h>

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

List of all members.

Public Member Functions

void operator() (const X_monotone_curve_2 &xc1, const X_monotone_curve_2 &xc2, X_monotone_curve_2 &xc) const

Protected Types

typedef
Arr_geodesic_arc_on_sphere_traits_2
< Kernel
Traits

Protected Member Functions

 Merge_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 >::Merge_2

A functor that merges two x-monotone arcs into one


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 >::Merge_2::Traits [protected]

Constructor & Destructor Documentation

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

Constructor

Parameters:
traitsthe traits (in case it has state)

Member Function Documentation

template<typename T_Kernel >
void Arr_geodesic_arc_on_sphere_traits_2< T_Kernel >::Merge_2::operator() ( const X_monotone_curve_2 xc1,
const X_monotone_curve_2 xc2,
X_monotone_curve_2 xc 
) const [inline]

Merge two given x-monotone curves into a single curve (spherical_arc).

Parameters:
xc1the first curve.
xc2the second curve.
xcOutput: the merged curve.
Precondition:
the two curves are mergeable. That is, they are supported by the same plane or oposite planes and share a common endpoint that is not on the discontinuity arc.

Here is the call graph for this function:


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 >::Merge_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