-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPROJECT_3.cpp
39 lines (33 loc) · 950 Bytes
/
PROJECT_3.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/convex_hull_2.h>
#include <CGAL/Polygon_2.h>
#include <CGAL/intersections.h>
#include <CGAL/Polygon_2_algorithms.h>
#include <CGAL/Search_traits_2.h>
#include <CGAL/Fuzzy_iso_box.h>
#include <sys/types.h>
#include "include/Pol_app.hpp"
#include <cstdlib>
#include <time.h>
#include <fstream>
#include <sstream>
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
int glob_flag=0;
int flag_algo = -1; // algorithm we choose
int flag_min_max = -1; // minimization or maximixation
int option = -1; // global local or subdivision
int L = -1; // path length
int flagalgo = -1;
int flaginit = -1;
int flagedge = -1;
double threshold = -1; // threshold
Polygon_2 p; // polygon
segments chain; // chain
Points points; // points
int main(int argc, char *argv[])
{
polygonization_application(argv);
}