Commit Graph

158 Commits

Author SHA1 Message Date
Pierre Alliez 73365ae5d3 PCA: fixed pow -> std::pow 2008-03-28 08:52:23 +00:00
Pierre Alliez 5b054ca47b PCA: cleanup the doc 2008-03-26 14:30:26 +00:00
Pierre Alliez f8a3c907e7 PCA: cleanup the doc 2008-03-26 14:28:53 +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 f3c10f6817 PCA: fix spelling issues 2008-02-12 10:30:52 +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 0e7254aa26 PCA: another attempt at removing a bug in cuboids 2008-02-07 08:20:24 +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
Sylvain Pion 0ab13872cc remove undesired typename 2008-01-25 21:30:33 +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 11474e52d7 PCA: fix examples 2008-01-21 20:25:53 +00:00
Pierre Alliez 049d70ad6f PCA: cleanup examples and little fix 2008-01-19 19:57:18 +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 55649f94c3 PCA: fix demo and list of changes 2008-01-18 09:15:41 +00:00
Pierre Alliez 68a98177ce PCA: update demos + test 2008-01-18 09:08:53 +00:00
Pierre Alliez ee9d4197c8 PCA: examples now compile fine one Windows 2008-01-18 08:45:15 +00:00
Pierre Alliez e5e1d0b470 PCA: started improving the examples 2008-01-17 13:58: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
Pierre Alliez e02cb6172a PCA: simplified interface in 3D 2008-01-16 16:41:58 +00:00
Sylvain Pion a46b55bf71 The files "changes.txt", "description.txt", "long_description.txt" and "maintainer"
are now under /trunk/$Package/package_info/$Package/ .
2007-12-02 15:06:42 +00:00
Pierre Alliez 60a8f120e3 replaced util.h by PCA_util.h in two files 2007-11-12 10:19:11 +00:00
Pierre Alliez 6074092936 PCA: I am trying to allow specifying a default tag. 2007-11-10 15:57:16 +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
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Pierre Alliez d1925200a0 PCA: massaging of the templates in order to provide default tag - does not compile yet. 2007-11-07 13:07:02 +00:00
Pierre Alliez 189e9469df renamed one file in PCA (tetrahedra) 2007-11-06 21:17:50 +00:00
Pierre Alliez 3b9168d8ab started cleaning up PCA on arbitrary objects - I need to work a few more hours before the next release. 2007-11-06 21:14:40 +00:00
Pierre Alliez dfa96693e4 added a larger teaser image when the user clicks 2007-09-25 10:49:16 +00:00
Pierre Alliez d13177d7c3 update teaser and text of package description 2007-09-25 09:58:44 +00:00
Pierre Alliez fafd4f48f6 fix demo fitting in 2D (was pointing to demo instead of example) 2007-09-25 09:49:15 +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 0817470af1 Deleted unimportant file
D    Principal_component_analysis/linear_least_squares_fitting_ankit.cpp
2007-07-24 13:48:54 +00:00
Ankit Gupta ded4e49d31 Updated examples for the PCA package
M    Principal_component_analysis/linear_least_squares_fitting_spheres_3.cpp
M    Principal_component_analysis/linear_least_squares_fitting_points_2.cpp
M    Principal_component_analysis/linear_least_squares_fitting_points_3.cpp
M    Principal_component_analysis/linear_least_squares_fitting_circles_2.cpp
M    Principal_component_analysis/linear_least_squares_fitting_segments_2.cpp
M    Principal_component_analysis/linear_least_squares_fitting_segments_3.cpp
M    Principal_component_analysis/linear_least_squares_fitting_rectangles_2.cpp
M    Principal_component_analysis/linear_least_squares_fitting_triangles_2.cpp
M    Principal_component_analysis/linear_least_squares_fitting_triangles_3.cpp
M    Principal_component_analysis/linear_least_squares_fitting_cuboids_3.cpp
M    Principal_component_analysis/linear_least_squares_fitting_tetrahedrons_3.cpp
2007-07-23 17:48:06 +00:00
Ankit Gupta 0707255797 Updated documentation
M    Principal_component_analysis/main.tex
M    Principal_component_analysis/PkgDescription.tex
M    Principal_component_analysis/intro.tex
2007-07-02 11:27:23 +00:00