remove example which uses an undocumented API

This commit is contained in:
Andreas Fabri 2015-06-17 11:14:20 +02:00 committed by Sébastien Loriot
parent 218e1a37e3
commit 5549a9e3b5
2 changed files with 0 additions and 31 deletions

View File

@ -1,7 +1,6 @@
/*!
\example Advancing_front_surface_reconstruction/reconstruction_fct.cpp
\example Advancing_front_surface_reconstruction/reconstruction_class.cpp
\example Advancing_front_surface_reconstruction/reconstruction_polyhedron.cpp
\example Advancing_front_surface_reconstruction/reconstruction_surface_mesh.cpp
\example Advancing_front_surface_reconstruction/boundaries.cpp
*/

View File

@ -1,30 +0,0 @@
#include <iostream>
#include <algorithm>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Advancing_front_surface_reconstruction.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/IO/Polyhedron_iostream.h>
typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel;
typedef Kernel::Point_3 Point_3;
typedef CGAL::Polyhedron_3<Kernel> Polyhedron;
int main()
{
std::vector<Point_3> points;
Polyhedron P;
std::copy(std::istream_iterator<Point_3>(std::cin),
std::istream_iterator<Point_3>(),
std::back_inserter(points));
CGAL::advancing_front_surface_reconstruction(points.begin(),
points.end(),
P);
std::cout << P << std::endl;
return 0;
}