Commit Graph

121 Commits

Author SHA1 Message Date
Simon Giraudot f3baef9c42 Allow user to assemble covariance matrix on triangles using Matrix::FT != Kernel::FT 2018-07-06 10:15:09 +02:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Simon Giraudot c13f94e802 Add variants so that Default uses the optimized version if Eigen available 2017-04-27 11:10:30 +02:00
Simon Giraudot f90c0ec43c Revert "Explicitly call Eigen_diagonalize_traits or not"
This reverts commit df78392981.
2017-04-27 11:05:36 +02:00
Simon Giraudot ff99959414 Revert "Re-add missing header (used implicitly by other packages)"
This reverts commit ef687db677.
2017-04-27 11:05:29 +02:00
Simon Giraudot ef687db677 Re-add missing header (used implicitly by other packages) 2017-04-27 10:31:11 +02:00
Simon Giraudot df78392981 Explicitly call Eigen_diagonalize_traits or not 2017-04-24 09:39:16 +02:00
Simon Giraudot 8b64be2e20 Specialize covariance matrix assembly with Eigen version 2017-04-24 09:39:00 +02:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Andreas Fabri 59cedfc7dd Fix Mesh_3 2016-11-03 13:08:31 +01:00
Laurent Rineau 54e1b5f5e1 Split PCA
There is a new `Principal_component_analysis_LGPL` packages that gather
the three LGPL headers from PCA:

- `<CGAL/barycenter.h>`
- `<CGAL/bounding_box.h>`
- `<CGAL/centroid.h>`
2016-09-30 15:23:16 +02:00
Simon Giraudot f4610bc844 Update PCA functions with diagonalize_traits typenames 2015-10-01 16:31:25 +02:00
Simon Giraudot a4f242a0cc Replace Internal_diagonalize_traits by Diagonalize_traits + corrections in Concepts/Models 2015-09-16 11:41:26 +02:00
Simon Giraudot 03b186c6df Simplify code (avoid useless data copy) 2015-09-07 08:30:57 +02:00
Simon Giraudot 0d600f5490 Replace VCM by Diagonalize for consistency 2015-09-07 08:18:43 +02:00
Simon Giraudot e3ce17eb0a Update doc of PCA in accordance with Solver interface 2015-09-01 12:40:10 +02:00
Simon Giraudot 0875fa17ff Wrapper to automatically use Eigen_diagonalize if Eigen is available or Internal_diagonalize otherwise 2015-08-31 10:01:01 +02:00
Simon Giraudot bb0d1c7b32 Removed unused eigen_symmetric API files 2015-08-31 09:32:15 +02:00
Simon Giraudot 28e5432c16 Renaming 'VCM' to 'diagonalize' 2015-08-31 08:30:01 +02:00
Simon Giraudot 792f6bd203 Clean old eigen.h API 2015-08-26 11:29:52 +02:00
Simon Giraudot 1328261e60 Propagating change of API from eigen_symmetric to new Internal_vcm_traits to PCA 3D functions. 2015-08-26 11:21:53 +02:00
Simon Giraudot 7ed34cd138 Propagating change of API from eigen_symmetric to new Internal_vcm_traits to PCA 2D functions. 2015-08-25 17:33:24 +02:00
Simon Giraudot 942907957d Move eigen files from PCA (note: this is internal code from CGAL that should be replaced by Eigen) 2015-08-20 16:11:33 +02:00
andrew morton 21295f07aa Use CGAL::sqrt() rather than std::sqrt() 2015-04-08 10:53:30 -07:00
Laurent Rineau 04ad0af983 Trivial bug-fix: use FT(n) instead of (FT)n.0
In our concepts, (FT)0.0 and (FT)1.0 (conversion from doubles) are not
always allowed, but the construction of an FT from an integer is in the
concept FieldNumberType (because it refines IntegralDomainWithoutDivision,
that refines FromIntConstructible).

The testsuite of PCA passes on my machine, and the bug "fix" is trivial.
Approved for CGAL-4.3 by the Release Manager.
2013-09-25 15:11:05 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Andreas Fabri 557c593aff undo of switching to vector and multipass_distance 2013-09-11 16:20:04 +02:00
Andreas Fabri a07b6620e4 class..method() -> class.method() 2013-08-29 07:11:28 +02:00
Andreas Fabri 8855eb54c3 Performance Improvements
- changed Cartesian to Simple_cartesian in the examples
- changed list to vector in the code
- removed unnecessary includes
- introduced multipass_distance
2013-08-26 14:36:09 +02:00
Laurent Rineau c6c8fd9d62 Fix #includes of <CGAL/PCA_util.h> 2013-04-29 14:59:23 +02:00
Philipp Möller 1adf441b18 Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
Laurent Rineau b6acb44b19 Fix mixed eol styles introduced by the licenses change scripts 2012-08-02 12:48:04 +00:00
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
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Laurent Rineau 506f2f0127 Fix typos in "This file is part of CGAL..." 2012-01-13 16:14:28 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Andreas Fabri 9ab4d521d1 Use CGAL::abs instead of fabs 2011-02-16 14:22:59 +00:00
Marc Glisse 237177a92e Remove work-around that is now hopefully useless 2011-01-18 11:40:03 +00:00
Marc Glisse b44bb0322c Prevent instantiation of centroid on non-iterator types 2011-01-18 11:37:03 +00:00
Marc Glisse 84594e6b71 This should be fixed properly, but in the mean time, add clang to the workaround. 2010-10-27 10:07:09 +00:00
Laurent Rineau 9277a77b72 Fix all svn:keywords in */include/ 2010-10-04 11:00:27 +00:00
Andreas Fabri b495e013b5 0.0 -> FT(0) in order to quiet VC++ 2010-09-27 07:47:24 +00:00
Stéphane Tayeb 13c142a657 Fix VC++ workaround (tested with MSVS2005) 2010-06-11 07:41:10 +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
Stéphane Tayeb bd968201c3 Try another workaround for VC++ and Intel compiler (CGAL::centroid). Add a call of overloaded CGAL::centroid function in test-suite. 2010-06-08 15:28:21 +00:00
Laurent Rineau d0b71dd3de Merged revisions 56567,56628 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r56567 | stayeb | 2010-06-04 10:42:30 +0200 (Fri, 04 Jun 2010) | 1 line
  
  Add a call to other overloads of centroid function.
........
  r56628 | spion | 2010-06-07 17:39:28 +0200 (Mon, 07 Jun 2010) | 2 lines
  
  Try again another version of the workaround for VC++.
........
2010-06-07 16:10:57 +00:00
Laurent Rineau a06cc18fe9 Merged revisions 56562 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r56562 | stayeb | 2010-06-03 17:30:14 +0200 (Thu, 03 Jun 2010) | 1 line
  
  Bug fix: ungeneralize a template function (avoids wrong template function instanciation).
........
2010-06-03 15:41:24 +00:00
Laurent Rineau 83912b2952 Massive fix of svn:keywords properties, and $URL$ keyword. 2009-10-20 08:59:26 +00:00
Pierre Alliez 62a1be0732 rename CGALi to internal 2009-09-17 09:19:21 +00:00
Pierre Alliez 7df5cac015 PCA: undo recent change - there was no bug 2009-09-11 07:13:29 +00:00