More redundant filename removal.

The only survivors should be under Arrangement_2/examples
(some Doxygen syntax is used, so I don't touch them).
This commit is contained in:
Sylvain Pion 2007-03-10 15:22:41 +00:00
parent e46d4d9f99
commit ffe1e4ec1c
39 changed files with 10 additions and 90 deletions

View File

@ -1,5 +1,3 @@
// examples/Alpha_shapes_3/example_alpha.C
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Delaunay_triangulation_3.h>
#include <CGAL/Alpha_shape_3.h>

View File

@ -1,5 +1,3 @@
// examples/Alpha_shapes_3/example_big_alpha.C
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Delaunay_triangulation_3.h>
#include <CGAL/Triangulation_hierarchy_3.h>

View File

@ -1,5 +1,3 @@
// examples/Alpha_shapes_3/example_weight.C
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Weighted_alpha_shape_euclidean_traits_3.h>
#include <CGAL/Regular_triangulation_3.h>

View File

@ -1,6 +1,3 @@
// examples/Nef_3/comparison.C
// -------------------------------------
#include <CGAL/Gmpz.h>
#include <CGAL/Extended_homogeneous.h>
#include <CGAL/Nef_polyhedron_3.h>

View File

@ -1,5 +1,3 @@
// examples/Nef_3/topolgical_operations.C
// -------------------------------------
#include <CGAL/Gmpz.h>
#include <CGAL/Homogeneous.h>
#include <CGAL/Nef_polyhedron_3.h>

View File

@ -1,5 +1,3 @@
// examples/Nef_3/transformation.C
#include <CGAL/Gmpz.h>
#include <CGAL/Extended_homogeneous.h>
#include <CGAL/Nef_polyhedron_3.h>

View File

@ -1,5 +1,3 @@
// examples/Nef_S2/construction.C
#include <CGAL/Gmpz.h>
#include <CGAL/Homogeneous.h>
#include <CGAL/Nef_polyhedron_S2.h>

View File

@ -1,5 +1,3 @@
// examples/Nef_S2/exploration.C
#include <CGAL/Gmpz.h>
#include <CGAL/Homogeneous.h>
#include <CGAL/Nef_polyhedron_S2.h>

View File

@ -1,5 +1,3 @@
// examples/Nef_S2/point_location.C
#include <CGAL/Gmpz.h>
#include <CGAL/Homogeneous.h>
#include <CGAL/Nef_polyhedron_S2.h>

View File

@ -1,5 +1,3 @@
// examples/Nef_S2/simple.C
#include <CGAL/Gmpz.h>
#include <CGAL/Homogeneous.h>
#include <CGAL/Nef_polyhedron_S2.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Simple_cartesian.h>
#include <CGAL/IO/Color.h>
#include <CGAL/Polyhedron_3.h>

View File

@ -1,5 +1,3 @@
// examples/Polyhedron/polyhedron_prog_cube.C
// ------------------------------------------
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/IO/Polyhedron_iostream.h>
#include <CGAL/Polyhedron_3.h>

View File

@ -1,5 +1,3 @@
// examples/Polyhedron/polyhedron_prog_vertex_color.C
// --------------------------------------------------
#include <CGAL/Simple_cartesian.h>
#include <CGAL/IO/Color.h>
#include <CGAL/Polyhedron_3.h>

View File

@ -1,5 +1,3 @@
// examples/Polyhedron/polyhedron_prog_vertex_normals.C
// ----------------------------------------------------
// computes the normal vector for facets, assuming they are triangles
// (or at least reasonably planar convex polygons), and the normal
// vector for vertices by accumulating the normal vectors of all

View File

@ -1,4 +1,3 @@
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/IO/Polyhedron_iostream.h>

View File

@ -1,7 +1,6 @@
// #define CGAL_PROFILE
// #define CGAL_NO_ASSERTIONS
// examples/Skin_surface_3/skin_surface_simple.C
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Skin_surface_3.h>
#include <CGAL/Polyhedron_3.h>

View File

@ -1,4 +1,3 @@
// examples/Skin_surface_3/NGHK_skin_surface_subdiv.C
//#define CGAL_PROFILE
//#define CGAL_NO_ASSERTIONS

View File

@ -1,4 +1,3 @@
// examples/Skin_surface_3/skin_surface_pdb_reader.C
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Skin_surface_3.h>
#include <CGAL/Polyhedron_3.h>

View File

@ -1,4 +1,3 @@
// examples/Skin_surface_3/skin_surface_simple.C
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/make_skin_surface_mesh_3.h>
#include <list>
@ -8,7 +7,7 @@ typedef K::Point_3 Bare_point;
typedef CGAL::Weighted_point<Bare_point,K::RT> Weighted_point;
typedef CGAL::Polyhedron_3<K> Polyhedron;
int main(int argc, char *argv[]) {
int main() {
std::list<Weighted_point> l;
double shrinkfactor = 0.5;

View File

@ -1,4 +1,3 @@
// examples/Skin_surface_3/skin_surface_subdiv.C
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Skin_surface_3.h>
#include <CGAL/Polyhedron_3.h>
@ -17,7 +16,7 @@ typedef Weighted_point::Point Bare_point;
typedef CGAL::Polyhedron_3<K,
CGAL::Skin_surface_polyhedral_items_3<Skin_surface_3> > Polyhedron;
int main(int argc, char *argv[]) {
int main() {
std::list<Weighted_point> l;
FT shrinkfactor = 0.5;

View File

@ -1,4 +1,3 @@
// examples/Skin_surface_3/skin_surface_subdiv_with_normals.C
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Skin_surface_3.h>
#include <CGAL/Polyhedron_3.h>
@ -17,7 +16,7 @@ typedef Skin_surface_3::Weighted_point Weighted_point;
typedef Weighted_point::Point Bare_point;
typedef CGAL::Polyhedron_3<K> Polyhedron;
int main(int argc, char *argv[]) {
int main() {
std::list<Weighted_point> l;
FT shrinkfactor = 0.5;

View File

@ -1,6 +1,5 @@
#define CGAL_SURFACE_MESHER_VERBOSE 1
// file examples/Skin_surface_3/skin_surface_with_surface_mesher.cpp
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Skin_surface_3.h>
@ -28,7 +27,7 @@ typedef Kernel::Point_3 Point_3;
typedef Kernel::FT FT;
int main(int, char **) {
int main() {
// Construct the Skin_surface_3 object:
std::list<Weighted_point> l;
RT shrinkfactor = 0.5;

View File

@ -1,4 +1,3 @@
// examples/Skin_surface_3/union_of_balls_simple.C
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Union_of_balls_3.h>
#include <CGAL/Polyhedron_3.h>
@ -12,7 +11,7 @@ typedef Union_of_balls_3::Weighted_point Weighted_point;
typedef Weighted_point::Point Bare_point;
typedef CGAL::Polyhedron_3<K> Polyhedron;
int main(int argc, char *argv[]) {
int main() {
std::list<Weighted_point> l;
l.push_front(Weighted_point(Bare_point(0,0,0), 1));

View File

@ -1,4 +1,3 @@
// examples/Skin_surface_3/union_of_balls_subdiv.C
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Union_of_balls_3.h>
#include <CGAL/Polyhedron_3.h>
@ -16,7 +15,7 @@ typedef Weighted_point::Point Bare_point;
typedef CGAL::Polyhedron_3<K,
CGAL::Skin_surface_polyhedral_items_3<Union_of_balls_3> > Polyhedron;
int main(int argc, char *argv[]) {
int main() {
std::list<Weighted_point> l;
l.push_front(Weighted_point(Bare_point( 1,-1,-1), 1.25));

View File

@ -1,5 +1,3 @@
// Authalic_parameterization.cpp
#include <CGAL/Cartesian.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/IO/Polyhedron_iostream.h>
@ -102,5 +100,3 @@ int main(int argc, char * argv[])
return (err == Parameterizer::OK) ? EXIT_SUCCESS : EXIT_FAILURE;
}

View File

@ -1,5 +1,3 @@
// Complete_parameterization_example.cpp
#include <CGAL/basic.h> // include basic.h before testing #defines
#ifdef CGAL_USE_TAUCS
@ -296,12 +294,10 @@ int main(int argc, char * argv[])
// Empty main() if TAUCS is not installed
// ----------------------------------------------------------------------------
int main(int argc, char * argv[])
int main()
{
std::cerr << "Skip test as TAUCS is not installed" << std::endl;
return EXIT_SUCCESS;
}
#endif // CGAL_USE_TAUCS

View File

@ -209,4 +209,3 @@ Polyhedron_ex::Halfedge_handle Mesh_cutter::pick_best_halfedge(
}
return pBest;
}

View File

@ -1,5 +1,3 @@
// Mesh_cutting_parameterization.cpp
#include <CGAL/Cartesian.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/IO/Polyhedron_iostream.h>
@ -188,5 +186,3 @@ int main(int argc, char * argv[])
return (err == Parameterizer::OK) ? EXIT_SUCCESS : EXIT_FAILURE;
}

View File

@ -1,5 +1,3 @@
// Simple_parameterization.cpp
#include <CGAL/Cartesian.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/IO/Polyhedron_iostream.h>
@ -100,5 +98,3 @@ int main(int argc, char * argv[])
return (err == Parameterizer::OK) ? EXIT_SUCCESS : EXIT_FAILURE;
}

View File

@ -1,5 +1,3 @@
// Square_border_parameterization.cpp
#include <CGAL/Cartesian.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/IO/Polyhedron_iostream.h>
@ -106,5 +104,3 @@ int main(int argc, char * argv[])
return (err == Parameterizer::OK) ? EXIT_SUCCESS : EXIT_FAILURE;
}

View File

@ -1,5 +1,3 @@
// Taucs_parameterization.cpp
#include <CGAL/basic.h> // include basic.h before testing #defines
#ifdef CGAL_USE_TAUCS
@ -129,12 +127,10 @@ int main(int argc, char * argv[])
// Empty main() if TAUCS is not installed
// ----------------------------------------------------------------------------
int main(int argc, char * argv[])
int main()
{
std::cerr << "Skip test as TAUCS is not installed" << std::endl;
return EXIT_SUCCESS;
}
#endif // CGAL_USE_TAUCS

View File

@ -1,6 +1,3 @@
// polyhedron_ex_parameterization.cpp
// ----------------------------------------------------------------------------
// USAGE EXAMPLES
// ----------------------------------------------------------------------------
@ -549,5 +546,3 @@ try {
return (err == Parameterizer::OK) ? EXIT_SUCCESS : EXIT_FAILURE;
}

View File

@ -1,4 +1,3 @@
// file examples/Surface_mesher/mesh_a_3d_gray_image.cpp
#include <CGAL/Surface_mesh_default_triangulation_3.h>
#include <CGAL/Complex_2_in_triangulation_3.h>
#include <CGAL/make_surface_mesh.h>
@ -15,7 +14,7 @@ typedef Tr::Geom_traits GT;
typedef CGAL::Gray_level_image_3<GT::FT, GT::Point_3> Gray_level_image;
typedef CGAL::Implicit_surface_3<GT, Gray_level_image> Surface_3;
int main(int, char **) {
int main() {
Tr tr; // 3D-Delaunay triangulation
C2t3 c2t3 (tr); // 2D-complex in 3D-Delaunay triangulation

View File

@ -1,4 +1,3 @@
// file examples/Surface_mesher/mesh_an_implicit_function.cpp
#include <CGAL/Surface_mesh_default_triangulation_3.h>
#include <CGAL/Complex_2_in_triangulation_3.h>
#include <CGAL/make_surface_mesh.h>
@ -24,7 +23,7 @@ FT sphere_function (Point_3 p) {
return x2+y2+z2-1;
}
int main(int, char **) {
int main() {
Tr tr; // 3D-Delaunay triangulation
C2t3 c2t3 (tr); // 2D-complex in 3D-Delaunay triangulation

View File

@ -1,5 +1,3 @@
// examples/Timer/Profile_counter.cpp
#define CGAL_PROFILE
#include <CGAL/Profile_counter.h>

View File

@ -1,5 +1,3 @@
// examples/Timer/Profile_histogram_counter.cpp
#define CGAL_PROFILE
#include <CGAL/Profile_counter.h>

View File

@ -1,5 +1,3 @@
// examples/Triangulation_3/example_simple.C
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Triangulation_3.h>

View File

@ -1,5 +1,3 @@
// examples/Triangulation_3/example_simplex.C
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Triangulation_3.h>

View File

@ -1,5 +1,3 @@
// examples/Voronoi_diagram_2/point_location.C
#include <CGAL/basic.h>
// standard includes