Commit Graph

339 Commits

Author SHA1 Message Date
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Sébastien Loriot 58d759b405 add missing include directive 2022-02-04 09:44:36 +01:00
Sébastien Loriot 4ffc949199 replace boost::unordered by std::unordered
but in T3, Mesh_3, TDS_3, P3[TM]3
2022-02-03 19:11:12 +01:00
Laurent Rineau 2a8a1734f1 Merge pull request #6179 from sloriot/HM-link_error_with_IDT
Move function to avoid link error + add missing halfedge function
2021-12-20 18:06:19 +01:00
Sébastien Loriot f60d0c26e4 move function to avoid link error + add missing halfedge function 2021-12-14 18:07:55 +01:00
Laurent Rineau 4d38f2b7b3 Merge pull request #6114 from sloriot/CGAL-cmake_clean_up
Clean cmake scripts of examples and tests
2021-11-18 12:27:19 +01:00
Mael Rouxel-Labbé e64089d690 Fix Heat Method & Weights package labels 2021-11-10 21:02:32 +01:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Sébastien Loriot 58181afcdb remove useless include directives 2021-11-09 10:16:12 +01:00
Laurent Rineau f581ff74d3 Merge pull request #5427 from sloriot/CGAL_data-moving_files
Regroup data: moving files

# Conflicts:
#	Nef_3/archive/triangulation/include/CGAL/partition_is_valid_2.h
2021-10-07 14:44:01 +02:00
Laurent Rineau 94ee9b1613 Merge pull request #6030 from MaelRL/CGAL-Minor_fixes-GF
Fix uninitialized id maps in heat method
2021-10-07 14:27:16 +02:00
Laurent Rineau 0e3b73852f Merge branch '5.2.x-branch' into 5.3.x-branch 2021-10-07 14:26:14 +02:00
Sébastien Loriot 1857a25d28 Merge remote-tracking branch 'cgal/master' into CGAL_data-moving_files 2021-10-06 13:50:31 +02:00
Sébastien Loriot efbd86df7f extra manual fixes 2021-10-05 17:42:21 +02:00
Mael Rouxel-Labbé d5886187b4 Add a static assertion about the Heat Method mode 2021-10-05 12:14:03 +02:00
Mael Rouxel-Labbé 863ab7541c Various whitespace fixes 2021-10-05 12:14:03 +02:00
Mael Rouxel-Labbé 8d7071352f Fix uninitialized id maps in SM_distance_3 2021-10-05 12:14:02 +02:00
Sébastien Loriot 8350dea94a char* -> std::string 2021-10-04 09:49:24 +02:00
Sébastien Loriot 47028cd184 automatically move data files in data dir + update paths
Done for OFF/OBJ/STL/XYZ/PWN/PLY
2021-10-04 09:42:49 +02:00
Sébastien Loriot 250b8e9161 remove ./ prefix 2021-10-04 09:32:04 +02:00
Sébastien Loriot 71932f2f1e manual fixes 2021-09-23 18:56:29 +02:00
Dmitry Anisimov 33e5c930d9 removed polygon utils dependency 2021-08-13 10:12:55 +02:00
Dmitry Anisimov c975eddf13 Merge remote-tracking branch 'origin/master' into Weights-unification-danston 2021-08-12 13:29:26 +02:00
Sébastien Loriot 0da1e5690e copyright.txt -> copyright 2021-07-29 10:07:44 +02:00
Dmitry Anisimov cac04ed149 quick mael review 2021-06-08 13:36:09 +02:00
Dmitry Anisimov a4b645a6ad quick andreas review 2021-06-08 12:48:15 +02:00
Dmitry Anisimov 92e668ef63 missing dependencies 2021-06-05 09:44:59 +02:00
Dmitry Anisimov 26b0323aae fixed pmp header 2021-06-04 22:49:40 +02:00
Dmitry Anisimov 521793fbb2 removed unused pmp dependency 2021-06-04 20:46:12 +02:00
Dmitry Anisimov b001ab2bcd all, Weights dependency moved to the right place 2021-06-04 16:51:08 +02:00
Dmitry Anisimov 0719b730e1 all, missing Weights dependency 2021-06-04 16:10:53 +02:00
Dmitry Anisimov 2459b6f91e updated weights in the Heat_method_3 package 2021-06-03 17:39:51 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Maxime Gimeno c49152359c update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Jane Tournois 1448c6525a Merge remote-tracking branch 'cgal/master' into Heat_method_3-mollify-oboes
# Conflicts:
#	Heat_method_3/test/Heat_method_3/CMakeLists.txt
2021-03-22 13:17:55 +01:00
Sébastien Loriot bc161f2ae9 Merge 'CGAL-Eigen3_support-5.2' 2021-01-15 10:59:20 +01:00
Sébastien Loriot f4935dc199 Merge branch 'CGAL-Eigen3_support-5.1' 2021-01-15 10:54:02 +01:00
Sébastien Loriot eecb00534e fix macro name to be consistent with find_package 2021-01-15 10:43:34 +01:00
Jane Tournois 40197ade1a add missing forward declaration 2020-12-08 16:33:01 +01:00
Jane Tournois f2f10e7a22 add missing namespace 2020-11-20 16:18:11 +01:00
Jane Tournois bc18b7d331 add a test for Intrinsic_Delaunay Mode with an input with degenerate faces 2020-11-20 15:35:28 +01:00
Jane Tournois 14cc8714ba with mollification degenerate faces are allowed with Mode=Intrinsic_Delaunay 2020-11-20 15:33:25 +01:00
Maxime Gimeno 3b70343590 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Jane Tournois a8a1b2de3e degenerate faces are allowed with Intrinsic_Delaunay Mode
thanks to mollification step
2020-11-13 16:33:46 +01:00
Jane Tournois 2df9424f29 Merge remote-tracking branch 'cgal/master' into Heat_method_3-mollify-oboes 2020-11-13 15:17:17 +00:00
Laurent Rineau 49e7ddccc9 Merge pull request #4243 from maxGimeno/Cmake_improvements-maxGimeno
General CMake improvements
2020-11-13 15:43:54 +01:00
Jane Tournois c040671a82 fix degenerate faces precondition 2020-11-12 15:22:49 +01:00
Jane Tournois 771da5d1dc forward-declare has_degenerate_faces before it is used 2020-10-27 10:25:11 +01:00
Jane Tournois 88121fa3ef fix namespace not precise enough for some compilers 2020-10-27 09:42:55 +01:00
Jane Tournois 77efae5be9 use internal vertex point map 2020-10-20 11:07:49 +02:00
Mael Rouxel-Labbé cb5d6444f5 Fix missing input filename 2020-10-14 15:32:44 +02:00
Olivier Boes 6aa3d6d583
Update Heat_method_3/include/CGAL/Heat_method_3/internal/Intrinsic_Delaunay_triangulation_3.h
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-10-05 16:54:11 +02:00
oboes 005f237f55 Add mollification step to avoid degenerate faces
Degenerate faces (which can cause an infinite loop in `loop_over_edges`)
are handled by using the mollification step described in section 4.5 of
N. Sharp & K. Crane "A Laplacian for Nonmanifold Triangle Meshes" (2020).
The tolerance value is set to 1/1000 of the minimum non-zero edge length.
2020-09-29 16:31:56 +02:00
Jane Tournois 2168bdda9c remove empty \pre 2020-09-29 13:01:21 +02:00
Jane Tournois a23d2baa87 add a precondition to avoid degenerate faces in input
degenerate faces cause an infinite loop in `loop_over_edges()`
2020-09-29 12:06:18 +02:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Mael Rouxel-Labbé 9cca59ba36 Actually use the new IO functions + some example improvements 2020-06-23 18:24:39 +02:00
Simon Giraudot 89285f1feb Merge remote-tracking branch 'mine/CMake-Third_party_imported_targets-GF' into CMake-Third_party_imported_targets-GF 2020-05-28 08:53:17 +02:00
Sébastien Loriot 3b6c100ca6 Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch' 2020-04-29 14:12:29 +02:00
Sébastien Loriot 67b53faece Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' 2020-04-29 14:06:37 +02:00
Sebastien Loriot c6df90f943
Merge pull request #4680 from MaelRL/HM-Undocument_deleted_functions-GF
Heat Method: remove wrapper around deleted function
2020-04-29 14:00:23 +02:00
Mael 487e315481
Remove non-disableable output 2020-04-27 12:07:12 +02:00
Mael Rouxel-Labbé 52bcf27c0a Remove wrapper around removed function estimate_geodesic_distance() 2020-04-24 18:43:31 +02:00
Maxime Gimeno 5b2d46cfa0 Fixes for min/max 2020-04-21 12:04:45 +02:00
Maxime Gimeno 50766d9d03 Fixes for min/max 2020-04-21 11:52:56 +02:00
Maxime Gimeno e9d41d7b7d Fixes for min/max 2020-04-21 11:38:37 +02:00
Simon Giraudot 421096fd7f Use imported targets everywhere 2020-04-15 14:06:13 +02:00
Sébastien Loriot 8bb22d5b2c extra run of the script to remove tabs and trailing whitespaces
right after the merge of the 5.0 release branch

+ manual fix of the files (indentation was changed in the meantime):
   * Spatial_sorting/include/CGAL/Multiscale_sort.h
   * Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot 8b153fb495 Merge branch 'cgal/releases/CGAL-5.0-branch'
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +01: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
Sébastien Loriot 0a46621dc6 Merge branch 'cgal/releases/CGAL-4.14-branch'
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot 590612a563 run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +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
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
Mael Rouxel-Labbé f68141a6d3 Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF 2019-07-01 11:28:25 +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
Mael Rouxel-Labbé 0b506f5cce Fix package dependencies 2019-05-10 12:41:25 +02:00
Sébastien Loriot 6d9b0e4260 make the ranges iterable 2019-03-29 13:23:46 +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
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
Andreas Fabri 0d87414b4c No need for copy constructor 2019-01-15 19:23:13 +01:00
Andreas Fabri 96ef7fa629 Changes after Michael's review 2019-01-07 11:45:44 +01:00
Andreas Fabri 6979ad1f74 Changes after Michael's review 2019-01-07 08:42:51 +01:00
Andreas Fabri 5841a8b48c Move internal header file 2018-12-23 18:23:07 +01:00
Andreas Fabri 586b185b64 Changes after Guillaume's review 2018-12-21 11:50:27 +01:00
Laurent Rineau 5c34bb1f36 The equation of "the gradient in a given triangle" was missing
and the introduction of the equation "integrated divergence associated
with vertex" as well.
2018-12-18 12:14:36 +01:00
Laurent Rineau 26335f93b1 Replace delta by delta_gamma, to stick more with the article
That also introduces the name of the source set.

I have also removed the sentence "over the entire domain M", that was
off-topic, here.
2018-12-18 12:13:34 +01:00
Laurent Rineau ea3927bb13 Fix the naming of the divergence operator 2018-12-18 12:12:20 +01:00
Andreas Fabri 3dff3df1a2 Remove README 2018-12-11 12:33:11 +01:00
Andreas Fabri 162d74baef Some changes after Sebastien's review 2018-12-11 12:15:16 +01:00
Andreas Fabri 49c0b7899b fix Eigen 3.2 -> 3.3 2018-12-05 08:41:08 +01:00
Andreas Fabri 047938e068 Try to fix warnings (which I cannot reproduce locally) 2018-11-26 10:00:23 +01:00
Andreas Fabri 994b1aa9c6 Fix link to the Solver package 2018-11-26 09:20:31 +01:00
Andreas Fabri 9546044462 Make iDT the default and explain O() complexity 2018-11-20 18:42:23 +01:00
Andreas Fabri d749d3f003 Make iDT the default and explain O() complexity 2018-11-20 18:21:19 +01:00
Andreas Fabri 65e11086a9 Merge branch 'Heat_method_3-GF' of github.com:afabri/cgal into Heat_method_3-GF 2018-11-20 08:38:25 +01:00
Andreas Fabri fd706aa390 Needs Eigen 3.3 or greater 2018-11-20 08:15:36 +01:00
Sébastien Loriot 8f81b45cbf add dependencies 2018-11-16 18:26:51 +01:00