Removing leading and trailing empty lines from all example files.

Using the following Perl script:
-----------------------------------------------------
#!/usr/bin/perl

local($/) = undef;
my $text = <>;

$text =~ s/\A\n+//mg;
$text =~ s/\n+\Z/\n/mg;

print "$text";
-----------------------------------------------------
This commit is contained in:
Sylvain Pion 2007-03-10 16:17:17 +00:00
parent ffe1e4ec1c
commit 847c23a15e
206 changed files with 0 additions and 311 deletions

View File

@ -1,4 +1,3 @@
/*********************************************************************** /***********************************************************************
Takes a list of points and returns a list of segments corresponding to the Takes a list of points and returns a list of segments corresponding to the

View File

@ -1,4 +1,3 @@
/*********************************************************************** /***********************************************************************
Takes a list of points and returns a list of segments corresponding to Takes a list of points and returns a list of segments corresponding to

View File

@ -44,5 +44,3 @@ int main()
assert(as.number_of_solid_components() == 1); assert(as.number_of_solid_components() == 1);
return 0; return 0;
} }

View File

@ -1,4 +1,3 @@
#include <CGAL/basic.h> #include <CGAL/basic.h>
// standard includes // standard includes
@ -48,5 +47,3 @@ int main()
return 0; return 0;
} }

View File

@ -1,4 +1,3 @@
#include <CGAL/basic.h> #include <CGAL/basic.h>
// standard includes // standard includes

View File

@ -1,4 +1,3 @@
#include <CGAL/basic.h> #include <CGAL/basic.h>
// standard includes // standard includes
@ -62,5 +61,3 @@ int main()
return 0; return 0;
} }

View File

@ -1,4 +1,3 @@
#include <CGAL/basic.h> #include <CGAL/basic.h>
// standard includes // standard includes
@ -62,5 +61,3 @@ int main()
return 0; return 0;
} }

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian_d.h> #include <CGAL/Cartesian_d.h>
#include <CGAL/MP_Float.h> #include <CGAL/MP_Float.h>
#include <CGAL/point_generators_d.h> #include <CGAL/point_generators_d.h>

View File

@ -78,4 +78,3 @@ int main (int argc, char **argv)
} }
#endif #endif

View File

@ -36,4 +36,3 @@ int main ()
return (0); return (0);
} }

View File

@ -72,4 +72,3 @@ int main ()
return (0); return (0);
} }

View File

@ -61,4 +61,3 @@ int main ()
return (0); return (0);
} }

View File

@ -91,4 +91,3 @@ int main ()
return (0); return (0);
} }

View File

@ -77,4 +77,3 @@ int main ()
return (0); return (0);
} }

View File

@ -135,4 +135,3 @@ int main ()
return (0); return (0);
} }

View File

@ -40,4 +40,3 @@ int main ()
print_arrangement (arr); print_arrangement (arr);
return (0); return (0);
} }

View File

@ -82,4 +82,3 @@ int main ()
print_arrangement (arr); print_arrangement (arr);
return (0); return (0);
} }

View File

@ -85,4 +85,3 @@ int main ()
return (0); return (0);
} }

View File

@ -58,4 +58,3 @@ int main ()
return (0); return (0);
} }

View File

@ -50,4 +50,3 @@ int main ()
print_arrangement (arr); print_arrangement (arr);
return (0); return (0);
} }

View File

@ -55,4 +55,3 @@ int main ()
return (0); return (0);
} }

View File

@ -46,4 +46,3 @@ int main ()
return (0); return (0);
} }

View File

@ -55,4 +55,3 @@ int main ()
return (0); return (0);
} }

View File

@ -60,4 +60,3 @@ int main ()
print_arrangement (arr); print_arrangement (arr);
return (0); return (0);
} }

View File

@ -48,4 +48,3 @@ int main ()
return (0); return (0);
} }

View File

@ -83,4 +83,3 @@ int main (int argc, char **argv)
return 0; return 0;
} }

View File

@ -80,4 +80,3 @@ int main (int argc, char **argv)
return 0; return 0;
} }

View File

@ -44,4 +44,3 @@ int main ()
print_arrangement (arr); print_arrangement (arr);
return (0); return (0);
} }

View File

@ -82,4 +82,3 @@ int main ()
return (0); return (0);
} }

View File

@ -48,4 +48,3 @@ int main ()
return (0); return (0);
} }

View File

@ -83,4 +83,3 @@ int main( int argc, char* argv[] ) {
} }
return exit_status; return exit_status;
} }

View File

@ -105,4 +105,3 @@ int main( int argc, char* argv[] ) {
} }
return exit_status; return exit_status;
} }

View File

@ -18,4 +18,3 @@ int main() {
CGAL::box_intersection_d( boxes, boxes+9, query, query+2, callback); CGAL::box_intersection_d( boxes, boxes+9, query, query+2, callback);
return 0; return 0;
} }

View File

@ -18,4 +18,3 @@ int main() {
CGAL::box_self_intersection_d( boxes, boxes+9, callback); CGAL::box_self_intersection_d( boxes, boxes+9, callback);
return 0; return 0;
} }

View File

@ -53,4 +53,3 @@ int main(){
return 0; return 0;
}; };

View File

@ -82,4 +82,3 @@ int main(){
return 0; return 0;
}; };

View File

@ -76,4 +76,3 @@ int main(){
} }
return 0; return 0;
}; };

View File

@ -1,4 +1,3 @@
#include <CGAL/basic.h> #include <CGAL/basic.h>
#include <CGAL/Random.h> #include <CGAL/Random.h>
#include <CGAL/point_generators_2.h> #include <CGAL/point_generators_2.h>
@ -65,4 +64,3 @@ int main(){
return 0; return 0;
}; };

View File

@ -116,4 +116,3 @@ std::cout<<"Exact Circular_k ="<<(t4-t3)<<std::endl;
return 0; return 0;
}; };

View File

@ -180,4 +180,3 @@ int main(){
return 0; return 0;
}; };

View File

@ -140,4 +140,3 @@ int main(){
// } // }
return 0; return 0;
}; };

View File

@ -48,4 +48,3 @@ int main(){
return 0; return 0;
}; };

View File

@ -68,4 +68,3 @@ int main(){
return 0; return 0;
}; };

View File

@ -1,4 +1,3 @@
#include <CGAL/basic.h> #include <CGAL/basic.h>
#include <cassert> #include <cassert>
#include <vector> #include <vector>

View File

@ -1,4 +1,3 @@
#include <CGAL/basic.h> #include <CGAL/basic.h>
#include <cassert> #include <cassert>
#include <vector> #include <vector>

View File

@ -1,4 +1,3 @@
#include <CGAL/basic.h> #include <CGAL/basic.h>
#include <cassert> #include <cassert>
#include <list> #include <list>

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>
#include <CGAL/ch_graham_andrew.h> #include <CGAL/ch_graham_andrew.h>
@ -14,4 +13,3 @@ int main()
CGAL::ch_graham_andrew( in_start, in_end, out ); CGAL::ch_graham_andrew( in_start, in_end, out );
return 0; return 0;
} }

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>
#include <CGAL/convex_hull_traits_2.h> #include <CGAL/convex_hull_traits_2.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>
#include <CGAL/ch_graham_andrew.h> #include <CGAL/ch_graham_andrew.h>
#include <CGAL/functional.h> #include <CGAL/functional.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Simple_cartesian.h> #include <CGAL/Simple_cartesian.h>
#include <CGAL/Filtered_kernel.h> #include <CGAL/Filtered_kernel.h>
#include <CGAL/point_generators_3.h> #include <CGAL/point_generators_3.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Homogeneous.h> #include <CGAL/Homogeneous.h>
#include <CGAL/point_generators_3.h> #include <CGAL/point_generators_3.h>
#include <CGAL/copy_n.h> #include <CGAL/copy_n.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Homogeneous.h> #include <CGAL/Homogeneous.h>
#include <CGAL/point_generators_3.h> #include <CGAL/point_generators_3.h>
#include <CGAL/copy_n.h> #include <CGAL/copy_n.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/basic.h> #include <CGAL/basic.h>
#ifdef CGAL_USE_CORE #ifdef CGAL_USE_CORE

View File

@ -1,4 +1,3 @@
#include <CGAL/Simple_cartesian.h> #include <CGAL/Simple_cartesian.h>
#include <CGAL/Gmpq.h> #include <CGAL/Gmpq.h>
#include <CGAL/Polyhedral_cgm_polyhedron_3.h> #include <CGAL/Polyhedral_cgm_polyhedron_3.h>

View File

@ -75,4 +75,3 @@ int main ()
return (0); return (0);
} }

View File

@ -1,4 +1,3 @@
#include <CGAL/Simple_cartesian.h> #include <CGAL/Simple_cartesian.h>
#include <CGAL/Filtered_predicate.h> #include <CGAL/Filtered_predicate.h>
#include <CGAL/MP_Float.h> #include <CGAL/MP_Float.h>
@ -41,4 +40,3 @@ int main()
orientation(p, q, r); orientation(p, q, r);
return 0; return 0;
} }

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>
#include <CGAL/point_generators_2.h> #include <CGAL/point_generators_2.h>
#include <CGAL/random_convex_set_2.h> #include <CGAL/random_convex_set_2.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Simple_cartesian.h> #include <CGAL/Simple_cartesian.h>
#include <cassert> #include <cassert>
#include <vector> #include <vector>

View File

@ -1,4 +1,3 @@
#include <CGAL/Simple_cartesian.h> #include <CGAL/Simple_cartesian.h>
#include <cassert> #include <cassert>
#include <vector> #include <vector>

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>
#include <CGAL/Polygon_2.h> #include <CGAL/Polygon_2.h>
#include <CGAL/point_generators_2.h> #include <CGAL/point_generators_2.h>
@ -55,4 +54,3 @@ int main( )
std::cout << polygon << std::endl; std::cout << polygon << std::endl;
return 0; return 0;
} }

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>
#include <CGAL/point_generators_2.h> #include <CGAL/point_generators_2.h>
#include <CGAL/random_polygon_2.h> #include <CGAL/random_polygon_2.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Simple_cartesian.h> #include <CGAL/Simple_cartesian.h>
#include <cassert> #include <cassert>
#include <vector> #include <vector>

View File

@ -1,4 +1,3 @@
// CGAL example program for the generic segment generator // CGAL example program for the generic segment generator
// using precomputed point locations. // using precomputed point locations.
@ -55,5 +54,3 @@ int main() {
} }
return 0; return 0;
} }

View File

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

View File

@ -1,4 +1,3 @@
#include <CGAL/HalfedgeDS_items_2.h> #include <CGAL/HalfedgeDS_items_2.h>
#include <CGAL/HalfedgeDS_vector.h> #include <CGAL/HalfedgeDS_vector.h>
#include <CGAL/HalfedgeDS_decorator.h> #include <CGAL/HalfedgeDS_decorator.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/HalfedgeDS_items_2.h> #include <CGAL/HalfedgeDS_items_2.h>
#include <CGAL/HalfedgeDS_list.h> #include <CGAL/HalfedgeDS_list.h>
#include <CGAL/HalfedgeDS_decorator.h> #include <CGAL/HalfedgeDS_decorator.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/HalfedgeDS_default.h> #include <CGAL/HalfedgeDS_default.h>
#include <CGAL/HalfedgeDS_decorator.h> #include <CGAL/HalfedgeDS_decorator.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/HalfedgeDS_default.h> #include <CGAL/HalfedgeDS_default.h>
#include <CGAL/HalfedgeDS_decorator.h> #include <CGAL/HalfedgeDS_decorator.h>
#include <CGAL/N_step_adaptor.h> #include <CGAL/N_step_adaptor.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/HalfedgeDS_min_items.h> #include <CGAL/HalfedgeDS_min_items.h>
#include <CGAL/HalfedgeDS_default.h> #include <CGAL/HalfedgeDS_default.h>
#include <CGAL/HalfedgeDS_decorator.h> #include <CGAL/HalfedgeDS_decorator.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/HalfedgeDS_min_items.h> #include <CGAL/HalfedgeDS_min_items.h>
#include <CGAL/HalfedgeDS_default.h> #include <CGAL/HalfedgeDS_default.h>
#include <CGAL/HalfedgeDS_decorator.h> #include <CGAL/HalfedgeDS_decorator.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/HalfedgeDS_default.h> #include <CGAL/HalfedgeDS_default.h>
#include <CGAL/HalfedgeDS_decorator.h> #include <CGAL/HalfedgeDS_decorator.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/HalfedgeDS_items_2.h> #include <CGAL/HalfedgeDS_items_2.h>
#include <CGAL/HalfedgeDS_vector.h> #include <CGAL/HalfedgeDS_vector.h>
#include <CGAL/HalfedgeDS_decorator.h> #include <CGAL/HalfedgeDS_decorator.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Interval_skip_list.h> #include <CGAL/Interval_skip_list.h>
#include <CGAL/Interval_skip_list_interval.h> #include <CGAL/Interval_skip_list_interval.h>
#include <vector> #include <vector>
@ -39,5 +38,3 @@ int main()
return 0; return 0;
} }

View File

@ -1,4 +1,3 @@
#include <CGAL/Simple_cartesian.h> #include <CGAL/Simple_cartesian.h>
#include <CGAL/Delaunay_triangulation_2.h> #include <CGAL/Delaunay_triangulation_2.h>
#include <CGAL/Triangulation_euclidean_traits_xy_3.h> #include <CGAL/Triangulation_euclidean_traits_xy_3.h>

View File

@ -289,4 +289,3 @@ int main(int argc, char *argv[])
} }
return 0; return 0;
} }

View File

@ -1,4 +1,3 @@
#include <CGAL/basic.h> #include <CGAL/basic.h>
#include <CGAL/Filtered_kernel.h> #include <CGAL/Filtered_kernel.h>
#include <CGAL/Delaunay_triangulation_2.h> #include <CGAL/Delaunay_triangulation_2.h>

View File

@ -1,4 +1,3 @@
// small example for compilation // small example for compilation
// check of Delaunay_triangulation_2 using the kernel concept // check of Delaunay_triangulation_2 using the kernel concept
// archetype // archetype

View File

@ -1,4 +1,3 @@
// original version see examples/Polyhedron/polyhedron_prog_incr_builder.cpp // original version see examples/Polyhedron/polyhedron_prog_incr_builder.cpp
// this time we test compilation with the // this time we test compilation with the
// kernel concept archetype // kernel concept archetype

View File

@ -1,4 +1,3 @@
// original version see examples/Polyhedron/polyhedron_prog_incr_builder.cpp // original version see examples/Polyhedron/polyhedron_prog_incr_builder.cpp
// this time we test compilation with // this time we test compilation with
// an own archetype that uses functionality // an own archetype that uses functionality

View File

@ -79,4 +79,3 @@ int main(int, char *[])
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>
#include <CGAL/Iso_rectangle_2.h> #include <CGAL/Iso_rectangle_2.h>
#include <CGAL/Largest_empty_iso_rectangle_2.h> #include <CGAL/Largest_empty_iso_rectangle_2.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>
#include <CGAL/Polygon_2.h> #include <CGAL/Polygon_2.h>
#include <CGAL/point_generators_2.h> #include <CGAL/point_generators_2.h>
@ -34,4 +33,3 @@ int main()
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// ** EOF // ** EOF
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>
#include <CGAL/point_generators_2.h> #include <CGAL/point_generators_2.h>
#include <CGAL/rectangular_p_center_2.h> #include <CGAL/rectangular_p_center_2.h>
@ -40,4 +39,3 @@ int main()
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// ** EOF // ** EOF
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@ -1,4 +1,3 @@
#include <CGAL/Random.h> #include <CGAL/Random.h>
#include <CGAL/Cartesian_matrix.h> #include <CGAL/Cartesian_matrix.h>
#include <CGAL/sorted_matrix_search.h> #include <CGAL/sorted_matrix_search.h>
@ -48,4 +47,3 @@ int main()
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// ** EOF // ** EOF
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@ -1,4 +1,3 @@
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Constrained_Delaunay_triangulation_2.h> #include <CGAL/Constrained_Delaunay_triangulation_2.h>
#include <CGAL/Triangulation_conformer_2.h> #include <CGAL/Triangulation_conformer_2.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Constrained_Delaunay_triangulation_2.h> #include <CGAL/Constrained_Delaunay_triangulation_2.h>
#include <CGAL/Delaunay_mesher_2.h> #include <CGAL/Delaunay_mesher_2.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Constrained_Delaunay_triangulation_2.h> #include <CGAL/Constrained_Delaunay_triangulation_2.h>
#include <CGAL/Delaunay_mesher_2.h> #include <CGAL/Delaunay_mesher_2.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Constrained_Delaunay_triangulation_2.h> #include <CGAL/Constrained_Delaunay_triangulation_2.h>
#include <CGAL/Delaunay_mesher_2.h> #include <CGAL/Delaunay_mesher_2.h>

View File

@ -1,4 +1,3 @@
// computes the smallest enclosing annulus of two point // computes the smallest enclosing annulus of two point
// sets on nested squares in R^2, using double // sets on nested squares in R^2, using double
// as input type and some internal EXACT floating point type // as input type and some internal EXACT floating point type

View File

@ -1,4 +1,3 @@
// computes the smallest enclosing annulus of two point // computes the smallest enclosing annulus of two point
// sets on nested squares in R^2, using double // sets on nested squares in R^2, using double
// as input type and some internal EXACT floating point type; // as input type and some internal EXACT floating point type;

View File

@ -1,4 +1,3 @@
// includes // includes
#include <CGAL/Homogeneous.h> #include <CGAL/Homogeneous.h>
#include <CGAL/Min_circle_2.h> #include <CGAL/Min_circle_2.h>

View File

@ -1,4 +1,3 @@
// includes // includes
#include <cassert> #include <cassert>
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>
#include <CGAL/Polygon_2.h> #include <CGAL/Polygon_2.h>
#include <CGAL/point_generators_2.h> #include <CGAL/point_generators_2.h>

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>
#include <CGAL/Polygon_2.h> #include <CGAL/Polygon_2.h>
#include <CGAL/point_generators_2.h> #include <CGAL/point_generators_2.h>
@ -28,4 +27,3 @@ int main()
return 0; return 0;
} }

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>
#include <CGAL/Polygon_2.h> #include <CGAL/Polygon_2.h>
#include <CGAL/point_generators_2.h> #include <CGAL/point_generators_2.h>
@ -27,4 +26,3 @@ int main()
return 0; return 0;
} }

View File

@ -1,4 +1,3 @@
#include <CGAL/Cartesian_d.h> #include <CGAL/Cartesian_d.h>
#include <iostream> #include <iostream>
#include <cstdlib> #include <cstdlib>
@ -33,4 +32,3 @@ int main ()
return 0; return 0;
} }

View File

@ -1,4 +1,3 @@
#include <iostream> #include <iostream>
#include <ctime> #include <ctime>
#include <CGAL/Min_sphere_of_spheres_d.h> #include <CGAL/Min_sphere_of_spheres_d.h>

View File

@ -1,4 +1,3 @@
// Computes the minsphere of some random spheres. // Computes the minsphere of some random spheres.
// This example illustrates how to use CGAL::Point_2 and CGAL:: // This example illustrates how to use CGAL::Point_2 and CGAL::
// Weighted_point with the Min_sphere_of_spheres_d package. // Weighted_point with the Min_sphere_of_spheres_d package.

View File

@ -1,4 +1,3 @@
// Computes the minsphere of some random spheres. // Computes the minsphere of some random spheres.
// This example illustrates how to use CGAL::Point_3 and CGAL:: // This example illustrates how to use CGAL::Point_3 and CGAL::
// Weighted_point with the Min_sphere_of_spheres_d package. // Weighted_point with the Min_sphere_of_spheres_d package.

View File

@ -1,4 +1,3 @@
// Computes the minsphere of some random spheres. // Computes the minsphere of some random spheres.
// This example illustrates how to use CGAL::Point_d and CGAL:: // This example illustrates how to use CGAL::Point_d and CGAL::
// Weighted_point with the Min_sphere_of_spheres_d package. // Weighted_point with the Min_sphere_of_spheres_d package.

Some files were not shown because too many files have changed in this diff Show More