Skip to content

Commit 3fe89dd

Browse files
author
Saurav Agarwal
committed
clean up cgal
1 parent b5f6ad0 commit 3fe89dd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cppsrc/core/include/CoverageControl/cgal/config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
#ifndef CPPSRC_CORE_INCLUDE_COVERAGECONTROL_CGAL_CONFIG_H_
3030
#define CPPSRC_CORE_INCLUDE_COVERAGECONTROL_CGAL_CONFIG_H_
3131

32-
#include <CGAL/basic.h>
32+
// #include <CGAL/basic.h>
3333
#include <CGAL/Arr_linear_traits_2.h>
34-
#include <CGAL/Arr_walk_along_line_point_location.h>
34+
// #include <CGAL/Arr_walk_along_line_point_location.h>
3535
#include <CGAL/Arrangement_2.h>
3636
#include <CGAL/Delaunay_triangulation_2.h>
3737
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
@@ -65,7 +65,7 @@ typedef CGAL::Partition_traits_2<K> Partition_traits_2;
6565
typedef CGAL::Creator_uniform_2<double, CGAL_Point2> Creator;
6666
typedef CGAL::Random_points_in_square_2<CGAL_Point2, Creator> Point_generator;
6767

68-
typedef CGAL::Arr_walk_along_line_point_location<Arrangement_2> CGAL_pl;
68+
// typedef CGAL::Arr_walk_along_line_point_location<Arrangement_2> CGAL_pl;
6969
using CGAL_Point_location_result = CGAL::Arr_point_location_result<Arrangement_2>;
7070
using CGAL_Query_result = std::pair<CGAL_Point2, CGAL_Point_location_result::Type>;
7171

cppsrc/core/src/polygon_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void PolygonYMonotonePartition(PointVector const &poly,
5050
}
5151
// Obtain partition //
5252
std::list<Partition_traits_2::Polygon_2> partition_polys;
53-
CGAL::y_monotone_partition_2(cgal_poly.begin(), cgal_poly.end(),
53+
CGAL::y_monotone_partition_2(cgal_poly.vertices_begin(), cgal_poly.vertices_end(),
5454
std::back_inserter(partition_polys));
5555

5656
// Transform to coveragecontrol data type

0 commit comments

Comments
 (0)