BWAPI
Public Types | Public Member Functions | Protected Types | Protected Attributes
Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ > Class Template Reference

#include <Arr_batched_pl_sl_visitor.h>

Collaboration diagram for Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Helper_ Helper
typedef OutputIterator_ OutputIterator
typedef Helper::Traits_2 Traits_2
typedef Helper::Arrangement_2 Arrangement_2
typedef Helper::Base_visitor Base
typedef Helper::Event Event
typedef Helper::Subcurve Subcurve

Public Member Functions

 Arr_batched_pl_sl_visitor (const Arrangement_2 *arr, OutputIterator *oi)
void before_sweep ()
bool after_handle_event (Event *event, Status_line_iterator above, bool on_above)

Protected Types

typedef Base::Status_line_iterator Status_line_iterator
typedef
Arrangement_2::Halfedge_const_handle 
Halfedge_const_handle
typedef
Arrangement_2::Vertex_const_handle 
Vertex_const_handle

Protected Attributes

Helper m_helper
OutputIteratorm_out

Detailed Description

template<class Helper_, class OutputIterator_>
class Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >

Definition of the Arr_batched_pl_sl_visitor class-template.

A sweep-line visitor for performing batched point-location queries on an arrangement embedded on a surface.


Member Typedef Documentation

template<class Helper_, class OutputIterator_>
typedef Helper::Arrangement_2 Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >::Arrangement_2
template<class Helper_, class OutputIterator_>
typedef Helper::Base_visitor Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >::Base
template<class Helper_, class OutputIterator_>
typedef Helper::Event Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >::Event
template<class Helper_, class OutputIterator_>
typedef Arrangement_2::Halfedge_const_handle Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >::Halfedge_const_handle [protected]
template<class Helper_, class OutputIterator_>
typedef Helper_ Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >::Helper
template<class Helper_, class OutputIterator_>
typedef OutputIterator_ Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >::OutputIterator
template<class Helper_, class OutputIterator_>
typedef Base::Status_line_iterator Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >::Status_line_iterator [protected]
template<class Helper_, class OutputIterator_>
typedef Helper::Subcurve Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >::Subcurve
template<class Helper_, class OutputIterator_>
typedef Helper::Traits_2 Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >::Traits_2
template<class Helper_, class OutputIterator_>
typedef Arrangement_2::Vertex_const_handle Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >::Vertex_const_handle [protected]

Constructor & Destructor Documentation

template<class Helper_, class OutputIterator_>
Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >::Arr_batched_pl_sl_visitor ( const Arrangement_2 arr,
OutputIterator oi 
) [inline]

Constructor.

Parameters:
arrThe arrangement.
oiA pointer to the output iterator that will store the result.

Member Function Documentation

template<class Hlpr , class OutIt >
bool Arr_batched_pl_sl_visitor< Hlpr, OutIt >::after_handle_event ( Event event,
Status_line_iterator  above,
bool  on_above 
)

A notification invoked after the sweep-line finishes handling the given event.

Parameters:
eventThe event.
aboveAn iterator to the sweep-line subcurves lying right above (or on) the event point.
on_aboveWhether the event is locates on the subcurve above it.

Here is the call graph for this function:

template<class Hlpr , class OutIt >
void Arr_batched_pl_sl_visitor< Hlpr, OutIt >::before_sweep ( )

Member Data Documentation

template<class Helper_, class OutputIterator_>
Helper Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >::m_helper [protected]
template<class Helper_, class OutputIterator_>
OutputIterator* Arr_batched_pl_sl_visitor< Helper_, OutputIterator_ >::m_out [protected]

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