#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/pca_estimate_normals.h>
#include <CGAL/mst_orient_normals.h>
#include <CGAL/property_map.h>
#include <CGAL/IO/read_xyz_points.h>
#include <utility>
#include <list>
#include <fstream>
typedef std::pair<Point, Vector> PointVectorPair;
int main(void)
{
std::list<PointVectorPair> points;
std::ifstream stream("data/sphere_20k.xyz");
if (!stream ||
std::back_inserter(points),
{
std::cerr << "Error: cannot read file data/sphere_20k.xyz" << std::endl;
return EXIT_FAILURE;
}
const int nb_neighbors = 18;
nb_neighbors);
std::list<PointVectorPair>::iterator unoriented_points_begin =
nb_neighbors);
points.erase(unoriented_points_begin, points.end());
return EXIT_SUCCESS;
}