BWAPI
|
#include <Arr_bounded_planar_topology_traits_2.h>
A topology-traits class that encapsulates the embedding of 2D arrangements of bounded curves on the plane.
typedef Traits_adaptor_2::Arr_bottom_side_tag Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Arr_bottom_side_tag |
typedef Traits_adaptor_2::Arr_left_side_tag Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Arr_left_side_tag |
typedef Traits_adaptor_2::Arr_right_side_tag Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Arr_right_side_tag |
typedef Traits_adaptor_2::Arr_top_side_tag Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Arr_top_side_tag |
typedef Dcel_ Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Dcel |
Reimplemented from Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
typedef Arr_walk_along_line_point_location<Arr> Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Default_point_location_strategy |
typedef Base::Face Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Face |
Reimplemented from Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
typedef GeomTraits_ Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Geometry_traits_2 |
Reimplemented from Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
typedef Base::Halfedge Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Halfedge |
Reimplemented from Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
typedef Base::Inner_ccb Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Inner_ccb |
Reimplemented from Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
typedef Base::Isolated_vertex Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Isolated_vertex |
Reimplemented from Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
typedef Base::Outer_ccb Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Outer_ccb |
Reimplemented from Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
typedef Base::Point_2 Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Point_2 |
Reimplemented from Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
typedef Arr_bounded_planar_topology_traits_2<Geometry_traits_2, Dcel> Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Self |
Reimplemented from Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
typedef Base::Size Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Size |
Reimplemented from Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
typedef Arr_construction_sl_visitor<CHelper> Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Sweep_line_construction_visitor |
typedef Arr_insertion_sl_visitor<IHelper> Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Sweep_line_insertion_visitor |
typedef Sweep_line_construction_visitor Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Sweep_line_non_intersecting_construction_visitor |
typedef Arr_basic_insertion_sl_visitor<BIHelper> Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Sweep_line_non_intersecting_insertion_visitor |
typedef Arr_traits_basic_adaptor_2<Geometry_traits_2> Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Traits_adaptor_2 |
Reimplemented from Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
typedef Base::Vertex Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Vertex |
Reimplemented from Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
typedef Base::X_monotone_curve_2 Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::X_monotone_curve_2 |
Reimplemented from Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
typedef Arr_inc_insertion_zone_visitor<Arr> Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Zone_insertion_visitor |
Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Arr_bounded_planar_topology_traits_2 | ( | const Self & | ) | [protected] |
Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Arr_bounded_planar_topology_traits_2 | ( | ) | [inline] |
Default constructor.
Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::Arr_bounded_planar_topology_traits_2 | ( | const Geometry_traits_2 * | tr | ) | [inline] |
Constructor with a geometry-traits class.
bool Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::are_equal | ( | const Vertex * | v, |
const X_monotone_curve_2 & | cv, | ||
Arr_curve_end | ind, | ||
Arr_parameter_space | ps_x, | ||
Arr_parameter_space | ps_y | ||
) | const [inline] |
Check if the given vertex is associated with the given curve end.
v | The vertex. |
cv | The x-monotone curve. |
ind | The curve end. |
ps_x | The boundary condition of the curve end in x. |
ps_y | The boundary condition of the curve end in y. |
CGAL_BEGIN_NAMESPACE void Arr_bounded_planar_topology_traits_2< GeomTraits, Dcel_ >::assign | ( | const Self & | other | ) |
Assign the contents of another topology-traits class.
Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::BOOST_MPL_ASSERT | ( | (boost::is_same< Arr_left_side_tag, Arr_oblivious_side_tag >) | ) |
Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::BOOST_MPL_ASSERT | ( | (boost::is_same< Arr_bottom_side_tag, Arr_oblivious_side_tag >) | ) |
Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::BOOST_MPL_ASSERT | ( | (boost::is_same< Arr_top_side_tag, Arr_oblivious_side_tag >) | ) |
Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::BOOST_MPL_ASSERT | ( | (boost::is_same< Arr_right_side_tag, Arr_oblivious_side_tag >) | ) |
virtual Comparison_result Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::compare_x | ( | const Point_2 & | p, |
const Vertex * | v | ||
) | const [inline, virtual] |
Compare the given vertex and the given point.
Implements Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
virtual Comparison_result Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::compare_xy | ( | const Point_2 & | p, |
const Vertex * | v | ||
) | const [inline, virtual] |
Compare the given vertex and the given point.
Implements Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
virtual Comparison_result Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::compare_y_at_x | ( | const Point_2 & | p, |
const Halfedge * | he | ||
) | const [inline, virtual] |
Compare the relative y-position of the given point and the given edge (which may be fictitious).
Implements Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
void Arr_bounded_planar_topology_traits_2< GeomTraits, Dcel_ >::dcel_updated | ( | ) |
Make the necessary updates after the DCEL structure have been updated.
Halfedge* Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::erase_redundant_vertex | ( | Vertex * | ) | [inline] |
void Arr_bounded_planar_topology_traits_2< GeomTraits, Dcel_ >::init_dcel | ( | ) |
Initialize an empty DCEL structure.
const Face* Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::initial_face | ( | ) | const [inline, virtual] |
This function is used by the "walk" point-location strategy.
Implements Arr_planar_topology_traits_base_2< GeomTraits_, Dcel_ >.
bool Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::is_concrete_vertex | ( | const Vertex * | ) | const [inline] |
Check if the given vertex is concrete (associated with a point).
bool Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::is_empty_dcel | ( | ) | const [inline] |
Determine whether the DCEL reprsenets an empty structure.
bool Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::is_redundant | ( | const Vertex * | ) | const [inline] |
Determine whether the given boundary vertex is redundant.
v | The vertex. |
bool Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::is_unbounded | ( | const Face * | f | ) | const [inline] |
Determine whether the given face is unbounded.
f | The face. |
bool Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::is_valid_face | ( | const Face * | ) | const [inline] |
Check if the given face is valid (not a fictitious one).
bool Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::is_valid_halfedge | ( | const Halfedge * | ) | const [inline] |
Check if the given halfedge is valid (not a fictitious one).
bool Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::is_valid_vertex | ( | const Vertex * | ) | const [inline] |
Check if the given vertex is valid (not a fictitious one).
Halfedge* Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::locate_around_boundary_vertex | ( | Vertex * | , |
const X_monotone_curve_2 & | , | ||
Arr_curve_end | , | ||
Arr_parameter_space | , | ||
Arr_parameter_space | |||
) | const [inline] |
Locate the predecessor halfedge for the given curve around a given vertex with boundary conditions.
v | The vertex. |
cv | The x-monotone curve. |
ind | The curve end. |
ps_x | The boundary condition of the curve end in x. |
ps_y | The boundary condition of the curve end in y. |
CGAL::Object Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::locate_curve_end | ( | const X_monotone_curve_2 & | , |
Arr_curve_end | , | ||
Arr_parameter_space | , | ||
Arr_parameter_space | |||
) | [inline] |
Locate a DCEL feature that contains the given curve end.
cv | The x-monotone curve. |
ind | The curve end. |
ps_x | The boundary condition of the curve end in x. |
ps_y | The boundary condition of the curve end in y. |
Size Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::number_of_concrete_vertices | ( | ) | const [inline] |
Get the number of concrete vertices.
Size Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::number_of_valid_faces | ( | ) | const [inline] |
Get the number of valid faces.
Size Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::number_of_valid_halfedges | ( | ) | const [inline] |
Get the number of valid halfedges.
Size Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::number_of_valid_vertices | ( | ) | const [inline] |
Get the number of valid vertices.
Self& Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::operator= | ( | const Self & | ) | [protected] |
CGAL::Object Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::place_boundary_vertex | ( | Face * | , |
const X_monotone_curve_2 & | , | ||
Arr_curve_end | , | ||
Arr_parameter_space | , | ||
Arr_parameter_space | |||
) | [inline] |
Given a curve end with boundary conditions and a face that contains the interior of the curve, find a place for a boundary vertex that will represent the curve end along the face boundary.
f | The face. |
cv | The x-monotone curve. |
ind | The curve end. |
ps_x | The boundary condition of the curve end in x. |
ps_y | The boundary condition of the curve end in y. |
const Face* Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::reference_face | ( | ) | const [inline] |
Face* Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::reference_face | ( | ) | [inline] |
Halfedge* Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::split_fictitious_edge | ( | Halfedge * | , |
Vertex * | |||
) | [inline] |
const Face* Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::unbounded_face | ( | ) | const [inline] |
Get the unbounded face (const version).
Face* Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::unbounded_face | ( | ) | [inline] |
Get the unbounded face (non-const version).
Face* Arr_bounded_planar_topology_traits_2< GeomTraits_, Dcel_ >::unb_face [protected] |