Commit Graph

57 Commits

Author SHA1 Message Date
Sylvain Pion c24c588aa5 Include <CGAL/algorithm.h> instead of <CGAL/copy_n.h>. 2008-08-12 12:58:18 +00:00
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Pierre Alliez d037064719 PCA: add one more test
Reconstruction: attempt to suppress a warning
2008-04-30 19:30:14 +00:00
Sylvain Pion 07e470978e We have 4 overloads of centroid() now working:
centroid(begin, end)
centroid(begin, end, dim_tag)
centroid(begin, end, kernel)
centroid(begin, end, kernel, dim_tag)
2008-04-15 15:58:11 +00:00
Sylvain Pion 73738c8a19 Replace PCA_dimension_0_tag and similar by the kernel's Dimension_tag<dim>. 2008-04-11 19:41:37 +00:00
Andreas Meyer 20315de571 * replaced CGAL_test_assert with ::assert, instead of CGAL_assertion
* removed include/Testsuite/assert.h
2008-03-19 13:45:36 +00:00
Laurent Rineau 4d9cf53ed4 Fix the errors
"linear_least_squares_fitting_points_2.cpp", line 42: Error: The function "exit" must have a prototype.
  "linear_least_squares_fitting_points_3.cpp", line 105: Error: The function "exit" must have a prototype.
  "linear_least_squares_fitting_points_3.cpp", line 74: Error: The function "exit" must have a prototype.
  "linear_least_squares_fitting_points_3.cpp", line 80: Error: The function "rand" must have a prototype.
  "linear_least_squares_fitting_points_3.cpp", line 81: Error: The function "rand" must have a prototype.
  "linear_least_squares_fitting_rectangles_2.cpp", line 131: Error: The function "exit" must have a prototype.
  "linear_least_squares_fitting_rectangles_2.cpp", line 48: Error: The function "exit" must have a prototype.
  "linear_least_squares_fitting_rectangles_2.cpp", line 90: Error: The function "exit" must have a prototype.
  "linear_least_squares_fitting_segments_2.cpp", line 101: Error: The function "exit" must have a prototype.
  "linear_least_squares_fitting_segments_2.cpp", line 143: Error: The function "exit" must have a prototype.
  "linear_least_squares_fitting_segments_2.cpp", line 192: Error: The function "exit" must have a prototype.
  "linear_least_squares_fitting_segments_2.cpp", line 45: Error: The function "exit" must have a prototype.
  "linear_least_squares_fitting_segments_2.cpp", line 72: Error: The function "exit" must have a prototype.
  "linear_least_squares_fitting_tetrahedra_3.cpp", line 17: Error: The function "rand" must have a prototype.
  "linear_least_squares_fitting_triangles_2.cpp", line 57: Error: The function "exit" must have a prototype.
  "linear_least_squares_fitting_triangles_2.cpp", line 99: Error: The function "exit" must have a prototype.
  "linear_least_squares_fitting_triangles_3.cpp", line 16: Error: The function "rand" must have a prototype.
detected by Sun CC.
2008-03-11 11:56:05 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Pierre Alliez 95f32e8851 PCA: removed one warning 2008-02-18 20:08:19 +00:00
Pierre Alliez 95755d2992 PCA: tried fixing a compilation error of the test suite 2008-02-15 12:06:57 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +00:00
Pierre Alliez 7daaaebc06 PCA: two kernel test for 2D point sets 2008-02-11 11:44:08 +00:00
Pierre Alliez c56158d568 PCA: removed some warnings (used level 4 on MS .NET)
I think some will remain due to other parts of CGAL
Next step will be to parameterize the test suite with several Kernels
2008-02-11 11:36:43 +00:00
Fernando Cacciola 14043c43a0 Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically) 2008-02-08 17:47:21 +00:00
Pierre Alliez f8ed9cdfa6 PCA: tried fixing a bug for cuboids_3
started fixing some issues with various kernels (well, at least float and double Cartesian to start with)
2008-02-06 20:35:10 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Pierre Alliez fcf1551ba9 PCA: removed some warnings for the test suite. 2008-02-04 06:26:58 +00:00
Pierre Alliez 013183aeef PCA: Corrected one bug for cuboids (dimension 0 tag)
removed a default tag
2008-01-21 21:53:21 +00:00
Pierre Alliez ee73b39faf PCA: a bit of cleanup of the test suite. I think little numerical inaccuracies when I fit a segment split into little ones is understandable. 2008-01-18 21:38:53 +00:00
Sylvain Pion 50ed4bb632 Use <cstdlib> and <cstdio> consistently instead of <stdio.h> and <stdlib.h>. 2008-01-18 20:33:57 +00:00
Pierre Alliez 68a98177ce PCA: update demos + test 2008-01-18 09:08:53 +00:00
Pierre Alliez dd79ec1fdf PCA: the test suit works fine on Windows 2008-01-17 13:55:43 +00:00
Pierre Alliez bb5f479966 PCA: fix compilation issues due to dimension tags
improve test suite in 3D
2008-01-17 13:20:42 +00:00
Pierre Alliez b520894305 PCA: PCA: rename test files 2008-01-17 12:10:15 +00:00
Pierre Alliez ec3bff8e15 PCA: renamed project files 2008-01-17 12:09:30 +00:00
Pierre Alliez 5814f52c02 PCA: rename test files 2008-01-17 12:07:58 +00:00
Laurent Saboret 7e712f612b Added VC++ 7.1 .sln and .vcproj makefiles for examples/ and test/ (generated by C2vcproj) 2008-01-17 09:25:03 +00:00
Pierre Alliez d88923b47c PCA: renamed example file for tetrahedra
started cleaning up the examples codes
2008-01-16 20:28:47 +00:00
Andreas Meyer 6623d525eb * replaced assert in */test/*/*.{cpp,h} with CGAL_test_assertion
* replaced #include <assert.h> with the according CGAL/Testsuite/assert.h
2007-11-07 21:35:42 +00:00
Ankit Gupta 0c408aeee2 Final Changes to PCA Package; Updated Test Suite!
A    Principal_component_analysis/test/Principal_component_analysis/linear_least_squares_fitting_circles_2.cpp
A    Principal_component_analysis/test/Principal_component_analysis/linear_least_squares_fitting_cuboids_3.cpp
A    Principal_component_analysis/test/Principal_component_analysis/linear_least_squares_fitting_triangles_3.cpp
A    Principal_component_analysis/test/Principal_component_analysis/linear_least_squares_fitting_spheres_3.cpp
A    Principal_component_analysis/test/Principal_component_analysis/fitting_segments_3.cpp
M    Principal_component_analysis/test/Principal_component_analysis/fitting_rectangles_2.cpp
A    Principal_component_analysis/test/Principal_component_analysis/linear_least_squares_fitting_tetrahedrons_3.cpp
A    Principal_component_analysis/test/Principal_component_analysis/fitting_triangles_2.cpp
M    Principal_component_analysis/include/CGAL/linear_least_squares_fitting_tetrahedrons_3.h
M    Principal_component_analysis/include/CGAL/linear_least_squares_fitting_spheres_3.h
M    Principal_component_analysis/include/CGAL/centroid.h
M    Principal_component_analysis/include/CGAL/linear_least_squares_fitting_2.h
M    Principal_component_analysis/include/CGAL/linear_least_squares_fitting_3.h
M    Principal_component_analysis/include/CGAL/util.h
M    Principal_component_analysis/include/CGAL/linear_least_squares_fitting_circles_2.h
M    Principal_component_analysis/include/CGAL/linear_least_squares_fitting_segments_3.h
M    Principal_component_analysis/include/CGAL/linear_least_squares_fitting_triangles_2.h
M    Principal_component_analysis/include/CGAL/linear_least_squares_fitting_triangles_3.h
M    Principal_component_analysis/include/CGAL/linear_least_squares_fitting_cuboids_3.h
M    Principal_component_analysis/examples/Principal_component_analysis/linear_least_squares_fitting_spheres_3.cpp
2007-07-25 12:46:19 +00:00
Ankit Gupta 6d4b1ece28 update in test case 2007-06-05 12:55:11 +00:00
Ankit Gupta a0829ddc8b changes to test suite 2007-06-05 11:23:59 +00:00
Ankit Gupta c391964ea7 test cases 2007-05-21 09:58:06 +00:00
Ankit Gupta 0606474ec1 Minor changes + test cases 2007-05-21 09:56:44 +00:00
Sylvain Pion e2a9804db5 rename .C to .cpp and remove makefile, same as generated 2007-01-27 21:11:36 +00:00
Andreas Fabri e717e10966 Added superfluouos #include and Ctrl-M cleanup 2006-03-29 14:23:24 +00:00
Joachim Reichel f582718758 rename create_makefile to cgal_create_makefile to avoid name clashes,
adjust all occurences of create_makefile and create\_makefile in the entire
repository (well, trunk only)
2006-03-15 22:10:02 +00:00
Marc Glisse 288bcac51b Replace "2" by "2." to help sunpro's old stl. 2006-03-11 20:32:31 +00:00
Pierre Alliez c0d925a6ba update test suite 3D 2006-03-02 15:36:01 +00:00
Pierre Alliez 24c8aa272b update test suite 3D 2006-03-02 15:32:26 +00:00
Pierre Alliez 01fb911f18 update test suite 3D 2006-03-02 15:28:24 +00:00
Pierre Alliez d0c67b7b1f upupate test suite 3D 2006-03-02 15:25:52 +00:00
Pierre Alliez 19b3d37010 upate test suite 3D 2006-03-02 15:25:07 +00:00
Pierre Alliez 6f584aeb11 update teste suite 3D 2006-03-02 15:23:13 +00:00
Pierre Alliez d2fd408431 update test 3d 2006-03-02 13:02:42 +00:00
Pierre Alliez 668469357e forgot to add the 3D file 2006-03-02 12:50:28 +00:00
Pierre Alliez 29b8377106 started test suite about 3D fitting 2006-03-02 12:49:59 +00:00
Pierre Alliez b0d6047e0a update kernel 2006-03-02 12:35:51 +00:00
Pierre Alliez 7f18a55a3e added one more kernel for testing 2006-03-02 12:31:38 +00:00
Pierre Alliez dc76a09bed fixed 2D test suite (compiles and runs on Linux) 2006-03-02 10:50:34 +00:00