#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/convex_hull_3.h>
#include <CGAL/boost/graph/io.h>
#include <CGAL/boost/graph/graph_traits_TriMesh_ArrayKernelT.h>
#include <OpenMesh/Core/IO/MeshIO.hh>
#include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>
#include <vector>
#include <fstream>
typedef K::Point_3
Point_3;
typedef OpenMesh::TriMesh_ArrayKernelT<> Mesh;
int main(int argc, char* argv[])
{
std::vector<Point_3> points;
Point_3 p, n;
while(in >> p >> n)
points.push_back(p);
Mesh poly;
Mesh sm;
return 0;
}
bool write_polygon_mesh(const std::string &fname, Graph &g, const NamedParameters &np=parameters::default_values())
void convex_hull_3(InputIterator first, InputIterator last, PolygonMesh &pm, const Traits &ch_traits=Default_traits)
computes the convex hull of the set of points in the range [first, last).
std::string data_file_path(const std::string &filename)