Commit Graph

138 Commits

Author SHA1 Message Date
Simon Giraudot 0278bf23a9 Use nullptr instead of NULL 2020-09-14 15:05:43 +02:00
Simon Giraudot 8986403ffe Fix missing arguments for overload detections 2020-09-14 15:05:02 +02:00
Simon Giraudot 379ee7df69 Fix inverted arguments 2020-09-14 15:05:02 +02:00
Simon Giraudot 9cc45f7c5e Fix incorrect moment matrix for Iso_cuboid_3 2020-09-14 15:04:24 +02:00
Simon Giraudot bdcae24d72 fix incorrect moment matrix init for Segment_3 2020-09-14 15:04:24 +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
Janek Kozicki e94156d7b5 Replace two std::sqrt(…); with using std::sqrt; ……… sqrt(…); Fix Yade compilation. 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
Sébastien Loriot d5e140945f Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' 2019-07-19 15:33:35 +02:00
Simon Giraudot d3e42bee99 Fix tabs/indentation 2019-07-17 15:38:02 +02:00
Simon Giraudot fbf0f3bf0c Fix assemble_covariance_matrix_3() for tetrahedron based on working prototype code 2019-07-17 15:27:21 +02:00
Simon Giraudot 8871603992 Use unsigned volume for tetrahedra 2019-07-17 15:27:21 +02:00
Andreas Fabri e2d19b0c8d Replace NULL and Nullptr_t with nullptr and nullptr_t 2019-06-04 23:45:44 +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 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