BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Intersect_2 Class Reference

#include <Arr_overlay_traits_2.h>

Collaboration diagram for Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Intersect_2:
Collaboration graph
[legend]

List of all members.

Public Member Functions

template<class OutputIterator >
OutputIterator operator() (const X_monotone_curve_2 &xcv1, const X_monotone_curve_2 &xcv2, OutputIterator oi)

Protected Member Functions

 Intersect_2 (const Arr_overlay_traits_2 *traits)

Protected Attributes

const Arr_overlay_traits_2m_traits
 The base traits.

Friends

class Arr_overlay_traits_2< Traits_2, Arrangement_red_2, Arrangement_blue_2 >
 Allow its functor obtaining function calling the protected constructor.

Detailed Description

template<typename Traits_, typename ArrangementRed_, typename ArrangementBlue_>
class Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Intersect_2

A functor that computes intersections between x-monotone curves.


Constructor & Destructor Documentation

template<typename Traits_ , typename ArrangementRed_ , typename ArrangementBlue_ >
Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Intersect_2::Intersect_2 ( const Arr_overlay_traits_2 traits) [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.


Member Function Documentation

template<typename Traits_ , typename ArrangementRed_ , typename ArrangementBlue_ >
template<class OutputIterator >
OutputIterator Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Intersect_2::operator() ( const X_monotone_curve_2 xcv1,
const X_monotone_curve_2 xcv2,
OutputIterator  oi 
) [inline]

Here is the call graph for this function:


Friends And Related Function Documentation

template<typename Traits_ , typename ArrangementRed_ , typename ArrangementBlue_ >
friend class Arr_overlay_traits_2< Traits_2,Arrangement_red_2,Arrangement_blue_2 > [friend]

Allow its functor obtaining function calling the protected constructor.


Member Data Documentation

template<typename Traits_ , typename ArrangementRed_ , typename ArrangementBlue_ >
const Arr_overlay_traits_2* Arr_overlay_traits_2< Traits_, ArrangementRed_, ArrangementBlue_ >::Intersect_2::m_traits [protected]

The base traits.


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