Commit Graph

40 Commits

Author SHA1 Message Date
Sven Oesau 39df59901b Fixed degenerated case of plane fitting to a linear set of points. 2022-05-03 18:20:02 +02:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Laurent Rineau 88e3c65e58 Merge pull request #4538 from cosurgi/fixYadeRealCompilation
Fix Yade high precision Real compilation
2020-03-05 14:50:45 +01:00
Janek Kozicki 7075455f42 Replace three more std::sqrt(…); with using std::sqrt; ……… sqrt(…); 2020-02-23 15:19:56 +01:00
Sébastien Loriot 254d60f642 First pass on removing license notice in header for GPL files 2019-10-19 15:23:19 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
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 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
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 0d600f5490 Replace VCM by Diagonalize for consistency 2015-09-07 08:18:43 +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
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
Laurent Rineau c6c8fd9d62 Fix #includes of <CGAL/PCA_util.h> 2013-04-29 14:59:23 +02: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
Andreas Fabri b495e013b5 0.0 -> FT(0) in order to quiet VC++ 2010-09-27 07:47:24 +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 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
Pierre Alliez 82aaae94c1 fix pca bug 2009-09-10 14:29:47 +00:00
Sylvain Pion 8573fe26ce Rename CGALi to internal. 2009-08-24 17:10:04 +00:00
Pierre Alliez 9b7d5c7e06 PCA: one bug fix pointed out by ENPC.
one little fix in doc
2009-07-02 11:13:32 +00:00
Pierre Alliez f9a2279974 PCA: fix degenerate cases and doc. 2009-02-27 12:57:44 +00:00
Pierre Alliez 587fcabfa5 PCA: removed unnecessary assertion 2008-12-08 16:09:09 +00:00
Sylvain Pion 2389cdcc1e Dimension detecting stuff rewrite.
There is now Ambiant_dimension and Feature_dimension.
The handling of the dynamic dimension case is now done by having
the di,ension tag as the first thing provided, with the integral
constant value available only when it makes sense (INT_MAX no longer needed).
2008-04-13 12:38:48 +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
Pierre Alliez 73365ae5d3 PCA: fixed pow -> std::pow 2008-03-28 08:52:23 +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
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
Pierre Alliez fcf1551ba9 PCA: removed some warnings for the test suite. 2008-02-04 06:26:58 +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
Pierre Alliez 189e9469df renamed one file in PCA (tetrahedra) 2007-11-06 21:17:50 +00:00