Sébastien Loriot
590612a563
run the script to remove tabs and trailing whitespaces
2020-03-26 13:25:16 +01:00
Mael Rouxel-Labbé
6b58618ba6
Clean code (indentation, trailing whitespace etc.)
2020-03-02 11:42:36 +01:00
Maxime Gimeno
201932abfb
Merge remote-tracking branch 'cgal/master' into Doc_enhancements_and_clarifications-GF
2020-02-13 15:05:38 +01:00
Simon Giraudot
6c8fd43ebb
Use CGAL_target_use_* mechanism for Eigen, LASLIB, OpenCV, TensorFlow, GLPK, SCIP, Boost IOStreams and Serialization
2020-02-10 11:57:56 +01:00
Maxime Gimeno
67a5b4d8c5
more clean-up after review
2020-01-28 13:42:46 +01:00
Mael Rouxel-Labbé
3c7eb2c6b9
Use CGAL_PI instead of hardcoding it
2020-01-07 15:31:07 +01:00
Mael Rouxel-Labbé
7ff2ffb238
Remove some obsolete doc links
...
Mostly a consequence of using stuff from 'std::' rather than 'CGAL::'
2019-11-20 13:16:40 +01:00
Sébastien Loriot
52164b1fba
First pass on removing license notice in header for LGPL files
2019-10-19 15:40:30 +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
Maxime Gimeno
a4947324e9
clean-up and new tests
2019-10-04 13:13:00 +02:00
Maxime Gimeno
a446908575
Use some CRTP voodoo to factorize the mesh and the soup versions of sampling.
2019-08-23 15:40:57 +02:00
Maxime Gimeno
cc5b9c7a8a
WIP
2019-08-23 15:40:02 +02:00
Sébastien Loriot
fbafb9d06f
fix remaining mismatches and fix bugs
2019-07-10 11:40:45 +02:00
Laurent Rineau
4fbf00fb8a
CMake>=3.13: opt for for new policies up to 3.15
2019-06-19 14:34:59 +02:00
Laurent Rineau
419032d859
Merge pull request #3947 from MaelRL/CGAL-Fix_typos-GF
...
Fix some typos in code/comments/documentation
2019-05-23 08:50:14 +02:00
Laurent Rineau
b8fe6b10ee
Merge pull request #3804 from afabri/CGAL_tests_must_not_include_basic-GF
...
Do not include <CGAL/basic.h>
2019-05-21 16:37:01 +02:00
Mael Rouxel-Labbé
2848158354
Fix typos
2019-05-20 08:54:04 +02:00
Laurent Rineau
2f8eeb0db3
Fix the headers dependency-hell around gmpxx in Number_types
2019-05-09 15:05:23 +02:00
Michael Hemmer
16714b185b
Fix in CGAL package Generator
...
GitOrigin-RevId: a24f22bd01
2019-04-24 15:40:08 +02:00
Sébastien Loriot
ce126b87c6
remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead
2019-03-29 13:28:32 +01:00
Sébastien Loriot
d60f5645aa
replace BOOST_FOREACH by c++ ranged-based for loop
...
some of the command used for the replacement:
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Laurent Rineau
2671d056cf
Merge pull request #3685 from afabri/CGAL-cleanup-GF
...
CGAL: Clean up examples and tests
2019-02-28 20:48:48 +01:00
Maxime Gimeno
07b720c913
Add a default: for warning in Generator
2019-02-20 09:59:21 +01:00
Andreas Fabri
e989b87dfe
Distance, Generator, HDS, Convex_hull, Polyhedron, PCA
2019-02-14 10:39:56 +01:00
Sébastien Loriot
59bc453b42
first batch of replacement for level 1 in classified ref man
...
command used:
grep -l "##" */doc/*/PackageDescription.txt | xargs sed -i -E 's/\#\#\s*([[:print:]]+[[:alnum:]])\s*\#\#\s*$/\\cgalCRPSection{\1}/'
2019-02-14 10:32:39 +01:00
Laurent Rineau
4bf2499b52
Merge pull request #3512 from maxGimeno/BGL-Fix_make_hexahedron_API-GF
...
Fix make_hexahedron doc
2018-12-19 16:08:58 +01:00
Laurent Rineau
8121e872ab
Merge pull request #3513 from sloriot/CGAL-fix_maybe_uninit_vars_wrngs_2
...
Fix some wmaybe-uninitialized warnings
2018-12-19 16:08:55 +01:00
albert-github
d6641b569f
Problems with formulas in documentation
...
There were some problems with formulas in the documentation most of them resulting in 'Undefined control sequence ' (MathJax output)
Note problem with the Bounding Volumes has not been resolved, separate issue created #3522
2018-12-09 18:31:13 +01:00
Sébastien Loriot
cf0909ef51
fix maybe-uninitialized warning
...
thanks @mglisse
2018-12-06 08:43:32 +01:00
Maxime Gimeno
20899df7a7
Make the hexahedron creation clearer and fix examples and tests
2018-12-04 11:46:48 +01:00
Sébastien Loriot
6c3e3252a9
brute force fix for uninitialize warning
2018-11-25 10:53:10 +01:00
Guillaume Damiand
7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand
2018-11-05 07:32:58 +01:00
Guillaume Damiand
92ba7fa6c9
Update minimum cmake required version in all CMakeLists.txt
2018-10-18 14:49:23 +02:00
Guillaume Damiand
0c2dcf7208
Re-add include({CGAL_USE_FILE} ) in each CMakeLists.txt where CGAL is used with some component.
2018-10-18 14:38:42 +02:00
Guillaume Damiand
0bd9088b5a
Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required.
2018-10-17 14:17:08 +02:00
Guillaume Damiand
7f09308d33
Remove all include_directories(BEFORE ../../include) in CMakeLists.txt
2018-10-17 13:07:22 +02:00
Sébastien Loriot
ea240cfac5
use \PkgXXX instead of \PkgXXXSummary
2018-10-08 10:28:44 +02:00
Sébastien Loriot
a2e8a1c68f
add the suffix Ref to doxygen link to reference
2018-10-08 10:26:56 +02:00
Laurent Rineau
b86fff3f90
Merge pull request #3128 from sgiraudot/Solver_interface-Warn_against_diagonalize_traits-GF
...
Solver Interface: deprecate CGAL::Diagonalize_traits
2018-06-27 10:21:37 +02:00
Simon Giraudot
95e6d089fa
Include Eigen in CMakeLists.txt where needed
2018-06-19 10:57:55 +02:00
Mael Rouxel-Labbé
26c857a431
Moved unary/binary_function to CGAL::cpp98
2018-06-13 15:58:19 +02:00
Laurent Rineau
588cc67897
Merge pull request #3096 from MaelRL/CGAL-Fix_deprecated_code_usage-GF
...
Fix some deprecation-related issues
2018-05-28 13:58:41 +02:00
Mael Rouxel-Labbé
b41f1d6272
Various deprecation-related improvements
2018-05-18 16:47:54 +02:00
Andreas Fabri
991f3847e8
Do not include graph_traits_Polyhedron.h, properties_polyhedron.h and Polyhedron_iostream.h
2018-05-03 13:23:50 +02:00
Andreas Fabri
c54a6a4980
Put CGAL::random_shuffle() in the subnamespace cpp98
2018-04-11 09:32:23 +01:00
Andreas Fabri
3955f031bd
Fix examples/tests/demos
2018-04-04 14:18:22 +01:00
Andreas Fabri
063a91a771
Use CGAL::random_shuffle
2018-04-04 14:00:23 +01:00
Laurent Rineau
0a74393dcf
Commit all new dependencies files
2018-03-06 18:44:48 +01:00
Laurent Rineau
826ca03d69
Merge pull request #2871 from afabri/CGAL-invocable_as_const-GF
...
Declare several operator() used for comparisons const
2018-03-02 16:33:07 +01:00
Laurent Rineau
0cd5d3f21c
Merge pull request #2853 from MaelRL/Generator-Fix_missing_domain_check-GF
...
Generator: Fix `random_points_in_triangle_mesh_2`
# Conflicts:
# Generator/include/CGAL/point_generators_2.h
2018-02-23 17:33:12 +01:00
Andreas Fabri
e5118d1401
Declare several operator() used for comparisons const
2018-02-23 15:34:15 +00:00
Laurent Rineau
78e7060525
Merge pull request #2712 from afabri/CGAL-VC+warnlevel_4-GF
...
Deal with VC++ warnings of level /W4
2018-02-19 14:27:06 +01:00
Mael Rouxel-Labbé
6b77d5149b
Fixed typo
2018-02-19 12:07:14 +01:00
Mael Rouxel-Labbé
5dfd491622
Added a precondition
...
An empty range will mean a segfault when calling weights.back(), with the
precondition, it will be more obvious.
2018-02-16 16:41:04 +01:00
Mael Rouxel-Labbé
58a8eb0504
Fixed random points on triangle mesh example
...
No mesh means no inside/outside...
2018-02-16 16:37:51 +01:00
Mael Rouxel-Labbé
a125f08e8f
Improved point generators tests
2018-02-16 16:10:21 +01:00
Mael Rouxel-Labbé
55b928b08c
Fixed random_points_in_triangle_mesh_2 to actually filter out-of-domain faces
2018-02-16 16:10:09 +01:00
Maxime Gimeno
688b5dd06e
Move dependencies creation to package_info and add dependencies to git
2018-02-02 12:08:05 +01:00
Maxime Gimeno
8bde832931
Fix METIS headers in BGL
2018-02-02 12:08:05 +01:00
Maxime Gimeno
a676d5a60e
Try to fix errors in classification checks
2018-02-02 12:08:05 +01:00
Maxime Gimeno
acd0a72edf
Modify travis script to test dependencies
2018-02-02 12:08:05 +01:00
Maxime Gimeno
ae36b452bc
Add dependencies of all packages
2018-02-02 12:08:05 +01:00
Andreas Fabri
64d0c6f563
Removed a return statement in a test that I think should not be there as it ends the test prematurely
2018-01-24 09:00:26 +00:00
Andreas Fabri
dc2f37a4ae
disable/enable warnings
2018-01-24 08:59:20 +00:00
Andreas Fabri
f76e744bff
Spatial_searching
2018-01-17 20:12:06 +00:00
Andreas Fabri
43d2ecb521
Triangulation_3
2018-01-17 16:57:46 +00:00
Andreas Fabri
6c791f161a
Triangulation_2
2018-01-17 16:12:12 +00:00
Laurent Rineau
42b11ddf29
Revert the merge of PR #2478
...
This reverts the merge commit 46cc91e787 onto
488c3e2879 .
2018-01-04 17:54:08 +01:00
Sébastien Loriot
19adf3b05e
make the doc match struct/class with the implementation
2017-11-17 11:34:55 +01:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Laurent Rineau
2e09f77031
Merge branch 'releases/CGAL-4.10-branch' into releases/CGAL-4.11-branch
2017-10-13 17:07:21 +02:00
Laurent Rineau
85dd5a2ffb
Merge pull request #2443 from sloriot/Generator-fix_copy_cstr
...
Fix determinism of points inside 2D/3D triangles, and tetrahedron
2017-10-13 16:53:08 +02:00
Laurent Rineau
2b35bddfb2
Replace all std::binary_function by CGAL::binary_function
2017-10-04 16:36:32 +02:00
Laurent Rineau
7e9f756935
Replace all std::unary_function by CGAL::unary_function
2017-10-04 15:57:09 +02:00
Sébastien Loriot
836f067b8d
remove default value hidding the copy-constructor
...
the random generator was replaced at each copy
2017-09-19 14:22:43 +02:00
Sébastien Loriot
4489593ab5
add missing include directive
2017-08-03 20:47:11 +02:00
Andreas Fabri
322796d7b9
#include Polyhedron_3.h
2017-08-03 16:09:52 +02:00
Mael Rouxel-Labbé
207f46cbee
Aesthetic fix
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
920fe90f0d
Fixed generic_random_test
...
-- used proper types
-- removed useless stuff
-- made readable
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
4968b7706b
Fixed Bare_point / Weighted_point usage in /Generator includes
...
Along the way, improved the implementation of two generators
-- easier to read
-- correct types (the generator returns bare_points, not weighted_points)
-- better function names
-- do not default-construct traits class
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
6323afb788
Fix return type of Apply_approx_sqrt
...
1. Should try to remove any reference so we get a proper value type
2. it's result_of(const T&) not result_of(T)
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
33bc47d4b7
Add constructors to Apply_approx_sqrt
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
60f95748a4
Minor doc fix
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
096627742f
Fixed doc of Random_points_in_triangle_mesh_3
2017-06-28 10:15:30 +02:00
Clement Jamin
f1971bf9ba
Fix errors & warnings from testsuite
2017-06-19 15:04:14 +02:00
Andreas Fabri
c81b707bfb
Do not include graph_traits_{Polyhedron | Surface_mesh}.h
2017-04-24 19:17:43 +02:00
Andreas Fabri
d35ebb9432
Generator: doc fix
...
Fix phrasing in the ref manual of `Random_points_in_sphere_3`.
2017-03-29 12:59:34 +02:00
Sébastien Loriot
1d1b0301fe
add a random generator on edges of a mesh
2016-12-29 07:20:25 +01:00
Sébastien Loriot
468abf708e
copy-paste random points on 2D segment in 3D
2016-12-29 07:20:25 +01:00
Sébastien Loriot
19a7a84983
correctly use the Creator
2016-12-29 07:20:23 +01:00
Maxime Gimeno
06c8a7a72b
Fix the return type of Apply_approx_sqrt.
2016-12-29 07:20:22 +01:00
Maxime Gimeno
9e767fd16f
Fix and clean-up
2016-12-29 07:20:21 +01:00
Maxime Gimeno
542efa95d7
Implement the NamedParameters functions and use the property maps.
2016-12-29 07:20:20 +01:00
Maxime Gimeno
218392c7b3
Cherry-pick from Generator-branch.
...
Conflicts:
Generator/include/CGAL/internal/Generic_random_point_generator.h
Generator/include/CGAL/point_generators_3.h
2016-12-29 07:20:20 +01:00
Maxime Gimeno
81ea4ee8fc
Add a constructor for `Random_points_in_triangle_mesh_3` that takes a vertex point map as argument.
2016-12-29 07:20:20 +01:00
Maxime Gimeno
39e7b76902
WIP
2016-12-29 07:20:19 +01:00
Andreas Fabri
13806e86f2
Make static variable thread local
2016-11-02 15:01:46 +01:00
Sébastien Loriot
305afe4787
remove non tested file
...
an issue was open instead
2016-10-06 09:47:37 +02:00
Laurent Rineau
223c1cf5a4
Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
...
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00