Coverage Control Library
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1/*
2 * This file is part of the CoverageControl library
3 *
4 * Author: Saurav Agarwal
5 * Contact: sauravag@seas.upenn.edu, agr.saurav1@gmail.com
6 * Repository: https://github.com/KumarRobotics/CoverageControl
7 *
8 * Copyright (c) 2024, Saurav Agarwal
9 *
10 * The CoverageControl library is free software: you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, either version 3 of the License, or (at your
13 * option) any later version.
14 *
15 * The CoverageControl library is distributed in the hope that it will be
16 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
18 * Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License along with
21 * CoverageControl library. If not, see <https://www.gnu.org/licenses/>.
22 */
23
29#ifndef CPPSRC_CORE_INCLUDE_COVERAGECONTROL_CGAL_CONFIG_H_
30#define CPPSRC_CORE_INCLUDE_COVERAGECONTROL_CGAL_CONFIG_H_
31
32#include <CGAL/Arr_linear_traits_2.h>
33#include <CGAL/Arr_walk_along_line_point_location.h>
34#include <CGAL/Arrangement_2.h>
35#include <CGAL/Delaunay_triangulation_2.h>
36#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
37#include <CGAL/Partition_traits_2.h>
38#include <CGAL/Polygon_with_holes_2.h>
39#include <CGAL/Random.h>
40#include <CGAL/algorithm.h>
41#include <CGAL/centroid.h>
42#include <CGAL/partition_2.h>
43#include <CGAL/point_generators_2.h>
44#include <CGAL/random_polygon_2.h>
45
46#include <iterator>
47
48typedef CGAL::Exact_predicates_exact_constructions_kernel K;
49typedef K::Point_2 CGAL_Point2;
50typedef K::Iso_rectangle_2 Iso_rectangle_2;
51typedef K::Segment_2 Segment_2;
52typedef K::Ray_2 Ray_2;
53typedef K::Line_2 Line_2;
54typedef CGAL::Delaunay_triangulation_2<K> Delaunay_triangulation_2;
55
56typedef CGAL::Polygon_2<K> Polygon_2;
57typedef CGAL::Polygon_with_holes_2<K> Polygon_with_holes_2;
58
59typedef CGAL::Arr_linear_traits_2<K> Traits_2;
60typedef CGAL::Arrangement_2<Traits_2> Arrangement_2;
61typedef CGAL::Arr_walk_along_line_point_location<Arrangement_2> CGAL_pl;
62
63typedef CGAL::Partition_traits_2<K> Partition_traits_2;
64
65typedef CGAL::Creator_uniform_2<double, CGAL_Point2> Creator;
66typedef CGAL::Random_points_in_square_2<CGAL_Point2, Creator> Point_generator;
67
68#endif // CPPSRC_CORE_INCLUDE_COVERAGECONTROL_CGAL_CONFIG_H_