ConvexHull.hpp
Go to the documentation of this file.
1 
6 #ifndef CONVEXHULL_HPP
7 #define CONVEXHULL_HPP 1
8 
9 #include "../misc/utils.hpp"
10 #include "tessellation.hpp"
11 #include <cmath>
12 
18 void ConvexHull(vector<Vector2D> &result,Tessellation const& tess,int index);
24 void ConvexHull(std::vector<std::pair<Vector2D, Vector2D> >& result, Tessellation const& tess, int index);
30 void ConvexEdges(vector<int> &result,Tessellation const& tess,int index);
31 #endif //CONVEXHULL_HPP
Abstract class for tessellation.
Abstract class for the tessellation.
void ConvexHull(vector< Vector2D > &result, Tessellation const &tess, int index)
Returns the ConvexHull for a set of points.
Definition: ConvexHull.cpp:31
void ConvexEdges(vector< int > &result, Tessellation const &tess, int index)
Returns the ConvexHull of the edges of a cell.
Definition: ConvexHull.cpp:98