#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Surface_mesh.h>
#include <CGAL/Variational_medial_axis_sampling.h>
int main(int argc, char** argv)
{
Mesh mesh;
{
std::cerr << "Invalid input." << std::endl;
return 1;
}
CGAL::parameters::number_of_iterations(1000)
.number_of_spheres(200)
.lambda(0.2)
.verbose(true));
std::cout << "Exporting skeleton..." << std::endl;
std::string output_filename = "skeleton.ply";
}
bool read_polygon_mesh(const std::string &fname, Graph &g, const NamedParameters &np=parameters::default_values())
bool write_PLY(std::ostream &out, const PointRange &points, const PolygonRange &polygons, const NamedParameters &np=parameters::default_values())
std::string data_file_path(const std::string &filename)