BWAPI
Public Types | Public Member Functions | Protected Types | Protected Attributes
Arr_naive_point_location< Arrangement_ > Class Template Reference

#include <Arr_naive_point_location.h>

Collaboration diagram for Arr_naive_point_location< Arrangement_ >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Arrangement_ Arrangement_2
typedef
Arrangement_2::Geometry_traits_2 
Geometry_traits_2
typedef
Arrangement_2::Topology_traits 
Topology_traits
typedef
Arrangement_2::Vertex_const_handle 
Vertex_const_handle
typedef
Arrangement_2::Halfedge_const_handle 
Halfedge_const_handle
typedef
Arrangement_2::Face_const_handle 
Face_const_handle
typedef Geometry_traits_2::Point_2 Point_2
typedef
Geometry_traits_2::X_monotone_curve_2 
X_monotone_curve_2

Public Member Functions

 Arr_naive_point_location ()
 Arr_naive_point_location (const Arrangement_2 &arr)
void attach (const Arrangement_2 &arr)
void detach ()
Object locate (const Point_2 &p) const

Protected Types

typedef
Arr_traits_basic_adaptor_2
< Geometry_traits_2
Traits_adaptor_2

Protected Attributes

const Arrangement_2p_arr
const Traits_adaptor_2geom_traits
const Topology_traitstop_traits

template<class Arrangement_>
class Arr_naive_point_location< Arrangement_ >


Member Typedef Documentation

template<class Arrangement_ >
typedef Arrangement_ Arr_naive_point_location< Arrangement_ >::Arrangement_2
template<class Arrangement_ >
typedef Arrangement_2::Face_const_handle Arr_naive_point_location< Arrangement_ >::Face_const_handle
template<class Arrangement_ >
typedef Arrangement_2::Geometry_traits_2 Arr_naive_point_location< Arrangement_ >::Geometry_traits_2
template<class Arrangement_ >
typedef Arrangement_2::Halfedge_const_handle Arr_naive_point_location< Arrangement_ >::Halfedge_const_handle
template<class Arrangement_ >
typedef Geometry_traits_2::Point_2 Arr_naive_point_location< Arrangement_ >::Point_2
template<class Arrangement_ >
typedef Arrangement_2::Topology_traits Arr_naive_point_location< Arrangement_ >::Topology_traits
template<class Arrangement_ >
typedef Arr_traits_basic_adaptor_2<Geometry_traits_2> Arr_naive_point_location< Arrangement_ >::Traits_adaptor_2 [protected]
template<class Arrangement_ >
typedef Arrangement_2::Vertex_const_handle Arr_naive_point_location< Arrangement_ >::Vertex_const_handle
template<class Arrangement_ >
typedef Geometry_traits_2::X_monotone_curve_2 Arr_naive_point_location< Arrangement_ >::X_monotone_curve_2

Constructor & Destructor Documentation

template<class Arrangement_ >
Arr_naive_point_location< Arrangement_ >::Arr_naive_point_location ( ) [inline]

Default constructor.

template<class Arrangement_ >
Arr_naive_point_location< Arrangement_ >::Arr_naive_point_location ( const Arrangement_2 arr) [inline]

Constructor given an arrangement.


Member Function Documentation

template<class Arrangement_ >
void Arr_naive_point_location< Arrangement_ >::attach ( const Arrangement_2 arr) [inline]

Attach an arrangement object.

template<class Arrangement_ >
void Arr_naive_point_location< Arrangement_ >::detach ( ) [inline]

Detach from the current arrangement object.

template<class Arrangement >
CGAL_BEGIN_NAMESPACE Object Arr_naive_point_location< Arrangement >::locate ( const Point_2 p) const

Locate the arrangement feature containing the given point.

Parameters:
pThe query point.
Returns:
An object representing the arrangement feature containing the query point. This object is either a Face_const_handle or a Halfedge_const_handle or a Vertex_const_handle.

Here is the call graph for this function:


Member Data Documentation

template<class Arrangement_ >
const Traits_adaptor_2* Arr_naive_point_location< Arrangement_ >::geom_traits [protected]
template<class Arrangement_ >
const Arrangement_2* Arr_naive_point_location< Arrangement_ >::p_arr [protected]
template<class Arrangement_ >
const Topology_traits* Arr_naive_point_location< Arrangement_ >::top_traits [protected]

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