Commit Graph

225 Commits

Author SHA1 Message Date
Laurent Rineau db194534c7 First big patch to fix -Wunused-local-typedefs
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
 by -Wall since gcc-4.8 (not yet released).

The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Sébastien Loriot 53d4d270eb remove warning 2012-07-06 09:21:13 +00:00
Sébastien Loriot 4cacb97039 remove warnings 2012-07-05 14:56:50 +00:00
Sébastien Loriot e702f20986 Eigen 3-1 is out.
Require Eigen 3.1.0 in CMake scripts.
2012-06-27 12:38:32 +00:00
Sébastien Loriot 13a3434734 merge from next 2012-01-23 16:28:28 +00:00
Andreas Fabri 37c999bf18 Switch off iterator debugging as this testsuite takes too long and gets killed 2012-01-23 12:46:23 +00:00
Sébastien Loriot f3751ab9b5 merge from next 2012-01-17 17:29:10 +00:00
Andreas Fabri dffde9612b Remove ^M at eol 2012-01-17 17:13:01 +00:00
Laurent Rineau 3239da640d merge changes from next; 2012-01-17 10:28:12 +00:00
Laurent Rineau a37c74d534 Add license files, per package 2012-01-16 15:54:22 +00:00
Sébastien Loriot 2865113c8c Point_set_processing test/example also uses lapack 2012-01-16 15:15:34 +00:00
Laurent Rineau 2af2160942 Turn \ccLicenseQPL into \ccLicenseGPL 2012-01-13 17:13:55 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Laurent Rineau 93486787c3 The inside of ccPkgDescription must not contain black lines between macros
Otherwise that inserts a buggy "<p>" tag in the package overview where the
doctype does not allow it.
2011-11-15 19:16:23 +00:00
Andreas Fabri e5027f9c83 Replace deprecated std::auto_ptr with boost::shared_ptr 2011-10-24 14:13:37 +00:00
Sébastien Loriot 554f62d411 remove executable property from copyright files 2011-10-03 08:18:16 +00:00
Andreas Fabri d10a333947 Add a file with the copyright holder(s) to the package_info 2011-09-29 20:45:16 +00:00
Laurent Rineau fdb7ea6c6b prepare ccPkgHowToCiteCgal for CGAL-3.10 (in 2012) 2011-09-28 16:15:05 +00:00
Laurent Rineau 369498d1e5 Cancel revision 64607. There had been a problem with the branch.
| ------------------------------------------------------------------------
  | r64607 | efif | 2011-07-05 17:27:04 +0200 (Tue, 05 Jul 2011) | 1 line
  | 
  | Merged feature-branch Aos_2-new_functors-tau into next
  | ------------------------------------------------------------------------
2011-07-06 11:11:58 +00:00
Sébastien Loriot ca13392880 CGAL -> \cgal\ 2011-05-30 12:36:57 +00:00
Laurent Rineau 19a787e342 Bug fix: input iterators are not required to be default-constructible
When InputIterator is an input-iterator type, one cannot do:

   InputIterator it;
   for(it = first; it != beyond; it++)

because input iterators may not be default-constructible. Only forward
iterators are required, by the C++03 norm, to be default-constructible.


We need to write: 

   for(InputIterator it = first; it != beyond; it++)
2011-05-06 10:24:08 +00:00
Laurent Rineau 3c02e07b23 Try to fix my last revision about cmake_policy, with CMake-2.6.x
CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
x.y.z is greater than the current CMake version.
2011-04-28 17:45:22 +00:00
Laurent Rineau c97205f085 Global handling of CMake policies (second part)
We declare 
  cmake_minimum_required(VERSION 2.6.2)
but we also use
  cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.

That way, we no longer need any declaration of specific policies.

Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
2011-04-28 10:55:56 +00:00
Laurent Rineau 0631943153 Uniform capitalization in our CMake script: use lowercase for commands 2011-04-28 10:36:18 +00:00
Laurent Rineau ca5c92e034 Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
  - change cmake_minimum_required to VERSION 2.6.2
  - no longer any need for the policy CMP0003 (was for 2.4.x)
  - no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 17:58:27 +00:00
Andreas Fabri 0e70977f33 Change demo file 2011-03-08 08:02:46 +00:00
Sébastien Loriot e5a96255ba *remove warnings.
In particular remove UNTESTED_XXXXXXXXXXX unused variable that possibly hide true warnings. 
In those cases, the string printed while executed now starts with "NOTE: ".
*CGAL internal code no longer rely on depecrated features
2011-02-28 15:28:28 +00:00
Laurent Rineau da95064578 Update the \ccPkgHowToCiteCgal tag for CGAL-3.8 (2011). 2011-02-24 15:21:10 +00:00
Sébastien Loriot 2a9d9e9702 remove warnings 2011-02-23 10:01:12 +00:00
Andreas Fabri 2b2d11a9a2 Fix/Add link 2010-11-03 11:29:36 +00:00
Laurent Rineau 32f6d6d555 Fix cgal_test_with_cmake from Point_set_processing_3 and
Surface_reconstruction_points_3:
  - [ "a" == "b" ] is a syntax of Bash. The POSIX way if with a single '='.
  - do not override MAKE_CMD if it is already set (to jom, for example).
2010-08-11 09:10:46 +00:00
Laurent Saboret 994fe4fc55 Automatic documentation by generate_reference_manual 1.3.1 2010-06-20 17:58:28 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Laurent Rineau 08a4aa0b0e Fix this commited cgal_test_with_cmake 2010-05-25 08:24:19 +00:00
Laurent Rineau cadb6a589a tuple is a dependent-name, and a call to a member function template of
tuple must be qualified with "template".
2010-05-17 16:15:17 +00:00
Sébastien Loriot 1382b9552d Add non-documented interface for APSS reconstruction.
Remove no longer needed Fast_orthogonal_k_neighbor_search (changes integrated in Orthogonal_k_neighbor_search)
2010-02-23 16:01:49 +00:00
Sylvain Pion 85dc12f2a7 Remove empty lines at beginning and end of files
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Andreas Fabri f49d38a1bc Remove repeated words 2010-01-28 08:29:45 +00:00
Laurent Rineau 5e4c755bdb Merged revisions 53668-53669,53678-53679,53682-53686 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r53668 | yvinec | 2010-01-19 11:00:41 +0100 (Tue, 19 Jan 2010) | 3 lines
  
  added changes for Mesh_3
........
  r53669 | yvinec | 2010-01-19 11:04:38 +0100 (Tue, 19 Jan 2010) | 3 lines
  
  fixed page layout in Changes for Mesh_3
........
  r53678 | spion | 2010-01-20 13:32:36 +0100 (Wed, 20 Jan 2010) | 2 lines
  
  Link AK_d and reorder to have Modular close to NT.
........
  r53679 | lrineau | 2010-01-20 13:37:23 +0100 (Wed, 20 Jan 2010) | 9 lines
  
  Merge from trunk:
    | New Revision: 53666
    |  Author: sloriot
    |  Date: 2010-01-19 08:41:16 +0100 (Tue, 19 Jan 2010)
    |  
    |  Log message:
    |  
    | remove warnings
........
  r53682 | lrineau | 2010-01-20 14:31:41 +0100 (Wed, 20 Jan 2010) | 2 lines
  
  Simplify the URL to CORE, so that "_" is not in the URL (Pb with manual tools)
........
  r53683 | lrineau | 2010-01-20 14:42:23 +0100 (Wed, 20 Jan 2010) | 3 lines
  
  Fix the package description of AK (fix the bib label and the version of
  CGAL)
........
  r53684 | lrineau | 2010-01-20 14:45:53 +0100 (Wed, 20 Jan 2010) | 1 line
  
  clean PkgDescription.tex
........
  r53685 | lrineau | 2010-01-20 15:01:09 +0100 (Wed, 20 Jan 2010) | 3 lines
  
  - Update PkgDexcription.tex to year 2010.
  - Add manual-3.6.bib
........
  r53686 | lrineau | 2010-01-20 15:03:10 +0100 (Wed, 20 Jan 2010) | 1 line
  
  Update the biblio shipped in manual tools, using manual-3.6.bib
........
2010-01-20 14:07:18 +00:00
Sébastien Loriot cdee61ee96 Replace M_PI by CGAL_PI 2010-01-19 07:27:33 +00:00
Laurent Rineau 0c3d09bdcc Fix URL to Boost property maps. 2010-01-13 15:40:55 +00:00
Nader Salman 164837e1c2 -namespace CGALi
+namespace internal

Updated the namespace to "internal".
2009-12-11 15:34:07 +00:00
Nader Salman 96f8cac0fe Corrected the Property Maps issue. 2009-12-11 15:08:58 +00:00
Andreas Fabri 69b5058088 fix HotToCite 2009-12-04 14:32:53 +00:00
Nader Salman b35cf1e22f Updated the PkgDescription.tex 2009-12-04 12:55:57 +00:00
Sylvain Pion 89ddee6c69 Remove Laurent Saboret from the maintainer files. 2009-10-21 07:56:06 +00:00
Laurent Rineau 83912b2952 Massive fix of svn:keywords properties, and $URL$ keyword. 2009-10-20 08:59:26 +00:00
Gaël Guennebaud cc2181e205 #include <CGAL/trace.h> where needed 2009-10-15 12:08:25 +00:00
Stéphane Tayeb 8dceee4164 Add include<CGAL/assertions.h> in *_assertion files. 2009-10-07 13:16:13 +00:00
Stéphane Tayeb 770492c1c7 Use new version of script create_assertions.sh to generate *_assertions.h files.
Diffs are:
 * #undef added
 * in old files, (void)0 is replaced by static_cast<void>(0)
 * in old files, lines as "#  define CGAL_xxx_assertion 1" are added
 * in point_set_processing_assertions.h, surface_mesh_parameterization_assertions.h, surface_reconstruction_points_assertions.h, "|| defined(CGAL_NDEBUG)" is replaced by "|| defined (NDEBUG)"
 * protective macros (if any) are removed
 * included files if any (<CGAL/assertions.h>, <CGAL/trace.h>) are removed
2009-10-07 07:49:44 +00:00
Andreas Fabri d5258f9a84 Add link to demo 2009-09-28 12:00:28 +00:00
Sylvain Pion 2883eafdbf Remove more EPS files. 2009-09-18 12:38:13 +00:00
Laurent Saboret 1b8c8a4301 Fixed compilation error introduced in r51749 2009-09-04 11:27:51 +00:00
Laurent Saboret f7e2037760 * Fixed images width (as requested by LR):
set max-width instead of width in HTML.
* Also set width=1.0 for most images in PDF (prettier).
2009-09-03 15:22:38 +00:00
Laurent Saboret 057de88bea Fixed warning with boost >= 10.38 2009-09-03 09:16:37 +00:00
Laurent Saboret fe8353441a Port to Windows 64 2009-09-02 12:10:05 +00:00
Laurent Saboret be09d80d95 * Bug fix: fixed compatibility of TAUCS/BLAS/LAPACK precompiled libraries with Visual C++ 9.0 2008:
CGAL 3.5 will include TAUCS/BLAS/LAPACK precompiled libraries for Visual C++ 8.0 and 9.0. 
Auto-link is modified accordingly.

* Also fixed compatibility of cgal_test_with_cmake.bat scripts with VC++ 9.0.
2009-08-26 16:23:28 +00:00
Sylvain Pion 8573fe26ce Rename CGALi to internal. 2009-08-24 17:10:04 +00:00
Laurent Saboret d43c10552a Improved traces 2009-08-24 16:05:08 +00:00
Laurent Saboret c2016191c0 Fixed figures numbering in user Manual 2009-08-24 16:02:40 +00:00
Laurent Saboret 0b1c2932ca Removed debug traces from Point_set_processing_3 examples 2009-08-05 11:36:34 +00:00
Laurent Saboret 92a542c94c Fixed bug in trace macro 2009-08-05 11:05:54 +00:00
Laurent Saboret dec43273d8 Images used in the User Manual (rasterized) 2009-08-04 14:43:11 +00:00
Laurent Saboret 3a2350c7bd Fixed typo: recommended knn is 18 in code 2009-07-28 08:37:44 +00:00
Pierre Alliez 30d016b938 point set processing: update text in ref manual (parameters) 2009-07-22 09:12:40 +00:00
Laurent Saboret 977aceca2d * Updated Point_set_processing_3 reference manual to describe the influence of each knn parameter.
* Fixed bug in Point_set_processing_3 examples/tests: use reasonable default knn parameters (0.1 or 0.15% of point set was overkill.* Updated the Point Set demo to use the recommended knn values by default.
2009-07-17 14:42:18 +00:00
Laurent Saboret d879d0191a Fixed potential conflicts with third party libraries (Visual C++ only):
Removed _HAS_ITERATOR_DEBUGGING=0 setting to go back to default settings.
This setting could create conflicts with third party libraries like _SECURE_SCL=0 crashes boost program options.

Note that no conflict with _HAS_ITERATOR_DEBUGGING was reported. This is just a safety change.
2009-07-16 18:16:24 +00:00
Laurent Saboret 4d52a0df5d Fixed manual:
introduction.jpg/eps shows now before and after picture from the same view point.
2009-07-13 09:49:25 +00:00
Laurent Saboret abb22ee92f * Fixed g++ warning in average_spacing_example.cpp
* Print error message if input file is missing
* Fixed indentation of .cpp files included in manual
2009-07-08 09:36:16 +00:00
Laurent Saboret 11cb5a223f Fixed bug in cgal_test_with_cmake and compiler warning on platform Cygwin/Visual C++/NMake. 2009-07-08 08:51:56 +00:00
Laurent Saboret 192ccd9cc3 * Fixed bug in read_xyz_points_and_normals() when loading a .xyz file with empty lines:
Updated manual.

* Also added a comment about the hack to have 2 functions documented on the same page (e.g. read_xyz_points() and read_xyz_points_and_normals()).
2009-07-06 17:03:32 +00:00
Laurent Saboret 7477e91147 Attempt to fix test suite on Cygwin/VisualC++/NMake:
added cgal_test_with_cmake.bat to dont_submit file.
2009-07-06 17:01:08 +00:00
Laurent Saboret 1d93f37726 * Fixed bug in read_xyz_points_and_normals() when loading a .xyz file with empty lines
* Fixed bugs in Point Set demo "Save As" feature:
- saving as .xyz did not work
- replacing an existing file prompted 2 confirmation dialogs
2009-07-06 16:08:10 +00:00
Laurent Saboret 205446a67a Port to g++/Linux 2009-07-02 11:37:36 +00:00
Laurent Saboret fe89b4571e Fixed header include path 2009-06-30 09:43:16 +00:00
Laurent Saboret 6469d5e568 Fixed error message on cerr in Qt Point Set demo. 2009-06-26 13:05:49 +00:00
Laurent Saboret 43a9e6b4ac Added missing
#include <CGAL/Memory_sizer.h>
2009-06-26 13:05:09 +00:00
Laurent Saboret 25ef46c2e1 Automatic ref manual update 2009-06-24 13:47:25 +00:00
Laurent Saboret 92e5ef0499 Fixed bugs in cgal_test_with_cmake when executed by CGAL test suite:
* cgal_test_with_cmake does not work when $MAKE_CMD environment variable exists.
* cgal_test_with_cmake returns an error when an application cannot be compiled.
2009-06-24 13:36:01 +00:00
Pierre Alliez 3dd62ff6a5 point set processing: more on ref manual 2009-06-18 15:08:08 +00:00
Pierre Alliez 872d31b8fe point set processing: ref manual 2009-06-18 14:33:47 +00:00
Pierre Alliez 4045ec3e30 point set processing: user manual 2009-06-18 14:28:04 +00:00
Laurent Saboret 533dfcf207 Added examples with Dereference_property_map and tuple property map 2009-06-18 13:28:00 +00:00
Pierre Alliez 584f0e5131 point set processing: user manual: intro + io 2009-06-18 10:09:44 +00:00
Nader Salman cae412f834 added a small doc on the dereference_property_map in io.tex
added a small example on the use of CGAL::Dereference_property_map<T> in remove_outliers_example.cpp
2009-06-18 09:12:49 +00:00
Laurent Saboret d69850a3f3 Property_map icon. 2009-06-18 09:10:40 +00:00
Nader Salman 7fcf846193 updated the examples comments and removed the deprecated includes 2009-06-18 08:45:04 +00:00
Nader Salman d89d383f46 Modified two more examples to use pairs <Point,Vector> instead of Point_with_normal_3 type.
=>More generic examples.
2009-06-17 15:50:22 +00:00
Nader Salman 3f5dfefa2c Updated analysis.tex : mentionned the use of tuples. 2009-06-17 12:50:53 +00:00
Nader Salman 96e2418555 Corrected a big compilation bug
:= When Point type is a pair or a tuple compute_average_spacing, jet_estimate_normal, jet_smooth_point_set,
pca_estimate_normals, pca_smooth_point_set, remove_outliers and remove_outliers_wrt_median_knn_sq_distance 
files couldn't compile. Now they can!

Written a detailed example (average_spacing_example.cpp) that uses the tuples type.
==> Pairs and tuples are now used in the examples.
2009-06-17 12:39:51 +00:00
Laurent Saboret fbe7dd34cd Property_map icon. 2009-06-17 08:36:13 +00:00
Laurent Saboret ac7d0971c2 Bug fix (by Mac Glisse): bring std::distance() to scope. 2009-06-17 08:11:47 +00:00
Laurent Saboret e3aea2e92d Changes after Surface_reconstruction_points_3/Point_set_processing_3 submission review by AF (12):
Document property maps and move them to Support Lib:

* Added new chapter "CGAL abd Boost Property Maps" (Property_map) to Support Lib:
- it is located in Point_set_processing_3/doc_tex/Property_map.
- it documents Dereference_property_map, First_of_pair_property_map, Second_of_pair_property_map and Nth_of_tuple_property_map.

* Renamed point_set_property_map.h as property_map.h

* Moved Normal_vector_property_map to Point_with_normal_3.h and renamed it Normal_of_point_with_normal_pmap.
2009-06-17 07:49:35 +00:00
Nader Salman 9f60273060 Added Property maps in read_write_xyz_point_set_example.cpp
Fixed bug in read_off_points_and_normals and  read_xyz_points_and_normals : Initialization of Normals to NULL_VECTOR when normal information is missing in the input file.
2009-06-15 14:15:59 +00:00
Laurent Saboret 862f3e4e81 Delete run_testsuite_with_cmake.bat scripts because they work on my machine only. 2009-06-15 09:16:37 +00:00
Laurent Saboret 0805bd26ac Changes after Surface_reconstruction_points_3/Point_set_processing_3 submission review by AF (11):
Changes requested by AF on 06/12/2009:

* Point_set_processing_3:
- Added grid_simplify_example.cpp. It replaces random_simplify_example.cpp in Point_set_processing_3 User Manual.
2009-06-15 08:07:10 +00:00
Laurent Saboret 1625af0907 Changes after Surface_reconstruction_points_3/Point_set_processing_3 submission review by AF (11):
Changes requested by AF on 06/12/2009:

* Point_set_processing_3:
- Fixed description of grid_simplify_point_set()
- Fixed description of read_xyz_points(), write_xyz_points(), read_off_points(), write_off_points()
- Added grid_simplify_example.cpp. It replaces random_simplify_example.cpp in Point_set_processing_3 User Manual.

* Surface_reconstruction_points_3:
- Small fixes in the User Manual.
2009-06-15 08:04:42 +00:00
Laurent Saboret 8819e7d365 Changes after Surface_reconstruction_points_3/Point_set_processing_3 submission review by AF (10):
Removed IndexPMap parameter of mst_orient_normals():

* Update documentation.
2009-06-12 09:16:30 +00:00
Laurent Saboret a15b486d24 Changes after Surface_reconstruction_points_3/Point_set_processing_3 submission review by AF (10):
Removed IndexPMap parameter of mst_orient_normals():

* Removed IndexPMap parameter of mst_orient_normals(). Instead, mst_orient_normals() creates internaly an Index_property_map object.

* Index_property_map is a template class "index" property map, which associates a 0-based index (unsigned int) to Iter iterators.
2 specializations exist:
- if Iter is a random access iterator (typically vector and deque), get() just calls std::distance() and is very efficient;
- else, the property map allocates a std::map to store indices and get() requires a lookup in the map.

* Index_property_map is moved to an independent header Index_property_map.h but is not documented.
2009-06-12 09:05:03 +00:00
Laurent Saboret 66332c8646 Fixed bugs on Cygwin/Visual C++ platform:
* The compiler output is now correctly logged.
* Fixed make clean call.
2009-06-12 08:58:26 +00:00