mirror of https://github.com/CGAL/cgal
debug compiling benchmark.cpp
This commit is contained in:
parent
0f4ac346a9
commit
b2902dcb06
|
|
@ -187,8 +187,8 @@ public:
|
||||||
std::reverse(points.begin(), points.end());
|
std::reverse(points.begin(), points.end());
|
||||||
CGAL::Visibility_2::report_while_handling_needles
|
CGAL::Visibility_2::report_while_handling_needles
|
||||||
<Simple_polygon_visibility_2>(geom_traits,
|
<Simple_polygon_visibility_2>(geom_traits,
|
||||||
points,
|
|
||||||
q,
|
q,
|
||||||
|
points,
|
||||||
out_arr);
|
out_arr);
|
||||||
CGAL_precondition(out_arr.number_of_isolated_vertices() == 0);
|
CGAL_precondition(out_arr.number_of_isolated_vertices() == 0);
|
||||||
CGAL_precondition(s.size() == 0);
|
CGAL_precondition(s.size() == 0);
|
||||||
|
|
@ -268,8 +268,8 @@ public:
|
||||||
std::reverse(points.begin(), points.end());
|
std::reverse(points.begin(), points.end());
|
||||||
CGAL::Visibility_2::report_while_handling_needles
|
CGAL::Visibility_2::report_while_handling_needles
|
||||||
<Simple_polygon_visibility_2>(geom_traits,
|
<Simple_polygon_visibility_2>(geom_traits,
|
||||||
points,
|
|
||||||
q,
|
q,
|
||||||
|
points,
|
||||||
out_arr);
|
out_arr);
|
||||||
CGAL_precondition(out_arr.number_of_isolated_vertices() == 0);
|
CGAL_precondition(out_arr.number_of_isolated_vertices() == 0);
|
||||||
CGAL_precondition(s.size() == 0);
|
CGAL_precondition(s.size() == 0);
|
||||||
|
|
|
||||||
|
|
@ -590,6 +590,7 @@ void benchmark(Visibility_2_fst &visibility_fst,
|
||||||
Query_choice choice) {
|
Query_choice choice) {
|
||||||
|
|
||||||
typedef typename Arrangement_2::Halfedge_handle Halfedge_handle;
|
typedef typename Arrangement_2::Halfedge_handle Halfedge_handle;
|
||||||
|
typedef typename Arrangement_2::Halfedge_const_handle Halfedge_const_handle;
|
||||||
typedef typename Arrangement_2::Geometry_traits_2 Geometry_traits_2;
|
typedef typename Arrangement_2::Geometry_traits_2 Geometry_traits_2;
|
||||||
typedef typename Arrangement_2::Ccb_halfedge_circulator
|
typedef typename Arrangement_2::Ccb_halfedge_circulator
|
||||||
Ccb_halfedge_circulator;
|
Ccb_halfedge_circulator;
|
||||||
|
|
@ -614,7 +615,7 @@ void benchmark(Visibility_2_fst &visibility_fst,
|
||||||
Ccb_halfedge_circulator curr = circ;
|
Ccb_halfedge_circulator curr = circ;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
Halfedge_handle he = curr;
|
Halfedge_const_handle he = curr;
|
||||||
Point_2 curr_query_pt;
|
Point_2 curr_query_pt;
|
||||||
bool selected_query_pt = true;
|
bool selected_query_pt = true;
|
||||||
switch (choice) {
|
switch (choice) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue