TM2IN  0.5.1
polygon.h
Go to the documentation of this file.
1 //
2 // Created by dongmin on 18. 7. 19.
3 //
4 
5 #ifndef TM2IN_POLYGON_H
6 #define TM2IN_POLYGON_H
7 
8 #include "detail/cgal_config.h"
9 #include <vector>
10 
11 using namespace std;
12 
13 namespace TM2IN {
14  namespace detail {
15  namespace cgal {
20  Polygon_2 make_CGAL_polygon(vector<Point_2> surface2D);
25  vector<Polygon_2> convexPartition(Polygon_2 polygon);
26  }
27  }
28 }
29 
30 #endif //TM2IN_POLYGON_H
31 
Definition: collinear.cpp:10
vector< Polygon_2 > convexPartition(Polygon_2 polygon)
Partitions Polygon_2 to a vector of Polygon_2.
Definition: polygon.cpp:20
Traits::Polygon_2 Polygon_2
Definition: cgal_config.h:59
Polygon_2 make_CGAL_polygon(vector< Point_2 > surface2D)
Generates CGAL::Polygon_2.
Definition: polygon.cpp:11