Laurent Rineau
290c3a2011
I forgot Triangulation_hierarchy_3 (Fast_location)!
...
Note that a move-from object of class `Triangulation_hierarchy_3` is
not really valid. I have just verified that it can be destroyed. Even
a call to `clear()` on a moved-from hierarchy will segfault!
To be fixed later...
2020-01-31 13:22:11 +01:00
Laurent Rineau
b311ab59ed
[modernize-use-nullptr] (clang-tidy)
2020-01-31 12:11:16 +01:00
Laurent Rineau
2717864bd7
Fix warnings cppcoreguidelines-special-member-functions (clang-tidy)
...
- Remove trivial copy-constructors that prevents the compiler to
generate the other special member functions.
2020-01-31 12:08:05 +01:00
Laurent Rineau
b56cdcb743
Add move-semantic to CGAL (non-periodic) 3D triangulations
...
- For `Triangulation_3`, the rule-of-zero cannot be used, because of
the infinite vertex. A special copy-constructor and copy-assignment
operators are required. But one can `= default the move-constructor
and move-assignment operator, as well as the destructor.
- For `Delaunay_triangulation_3`, the rule-of-zero is
sufficient. Nothing to do.
- For `Regular_triangulation_3`, the `hidden_point_visitor` data
member is a function that is constructed with the `this` pointer, so
the rule-of-zero cannot be used. Probably the move-constructor
and move-assignment operator could be explicitly defaulted.
2020-01-31 12:01:43 +01:00
Maxime Gimeno
35600534f0
fixes
2020-01-21 10:05:19 +01:00
Maxime Gimeno
85712ba28c
WIP replacing tbb deprecated includes.
2020-01-14 15:03:20 +01:00
Maxime Gimeno
7964028590
More doc
2020-01-13 15:48:38 +01:00
Maxime Gimeno
065a7ac0c6
Add a test for file_input()
2020-01-10 13:14:31 +01:00
Maxime Gimeno
9fe491adfb
Update license header
2020-01-10 11:54:48 +01:00
Maxime Gimeno
82bcfb7087
Add license and remove need for operator(const C&), which cannot be called.
2020-01-09 10:01:31 +01:00
Maxime Gimeno
2bfdc8398f
Move the file_input.h file to Triangulation_3 and write some doc. Unify with the API of copy_tds() and adapt the c3t3_io plugin.
2020-01-08 16:37:39 +01:00
Laurent Rineau
674627937c
Merge pull request #4389 from lrineau/DT_3-issue4388-GF
...
Fix DT3 parallel performance loss (issue #4388 )
2019-12-17 09:16:52 +01:00
Laurent Rineau
de1074426b
Merge pull request #4389 from lrineau/DT_3-issue4388-GF
...
Fix DT3 parallel performance loss (issue #4388 )
2019-12-17 09:15:48 +01:00
Mael
8a48be1dd8
Remove unused macro
2019-12-12 13:10:25 +01:00
Laurent Rineau
c08c632fc8
Merge branch 'releases/CGAL-5.0-branch' into T3_accelerate_insert_in_hole-rebased
2019-12-10 13:02:24 +01:00
Laurent Rineau
435bb4d4c4
Cleanup the patch
2019-12-10 10:59:13 +01:00
Andreas Fabri
7c9ef9c9f2
Move code into TDS_3 and make it work for parallel mode
2019-12-10 10:20:12 +01:00
Andreas Fabri
27a93fc25a
First cleanup
2019-12-10 10:19:07 +01:00
Andreas Fabri
9303a3318a
Use small_vector for find_conflicts()
2019-12-10 10:19:07 +01:00
Laurent Rineau
a9abea6dc7
Use local small-indices, 2% win.
2019-12-10 10:18:57 +01:00
Laurent Rineau
a93dd81642
Cleanup
2019-12-10 10:17:08 +01:00
Andreas Fabri
f2eea9cf78
Call clear()
2019-12-10 10:17:08 +01:00
Andreas Fabri
a3fc6790ca
Use a boost::small_vector instead of a std::deque in a stack
2019-12-10 10:17:08 +01:00
Andreas Fabri
6462016ce3
Use an unordered map to find neighbor cells
2019-12-10 10:17:03 +01:00
Laurent Rineau
6cdd833e13
Merge branch 'DT_3-issue4388__for_CGAL-4.14.2-GF' into DT_3-issue4388-GF
2019-12-04 15:39:55 +01:00
Laurent Rineau
6ded244449
Merge branch 'DT_3-issue4388__for_CGAL-4.13.2-GF' into DT_3-issue4388__for_CGAL-4.14.2-GF
2019-12-04 15:32:07 +01:00
Laurent Rineau
3ade506eba
Create approximate_size() in Concurrent_compact_container
...
Instead of having an atomic integer for the size of the compact
container, now all free lists have an atomic integer for their size,
but it is only updated when the size is increased by 10%.
2019-12-04 15:20:52 +01:00
Laurent Rineau
12181210e8
Add a bench of DT3 with TBB and Google benchmark
2019-12-04 15:16:25 +01:00
Andreas Fabri
b98d2f6876
Fix examples
2019-11-04 16:45:30 +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
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
Laurent Rineau
830bb9640f
Merge pull request #4141 from albert-github/feature/bug_obsolete_images
...
warning: image file name tds_small.png is ambiguous.
2019-08-16 13:24:58 +02:00
albert-github
62f2fef741
warning: image file name tds_small.png is ambiguous.
...
Some images were present on multiple places but the second reference was not used anymore.
2019-08-08 13:41:18 +02:00
Maxime Gimeno
660ebe9e81
Add missing highp and remove unwanted highp
2019-08-05 14:16:02 +02:00
Sébastien Loriot
2e747dd300
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' into HEAD
2019-07-18 17:01:42 +02:00
Sébastien Loriot
1f8065c6c3
Merge pull request #3885 from MaelRL/PMP-Locate-GF
...
PMP: Add locate.h and rewrite Triangulation_2 graph traits
2019-07-18 16:40:49 +02:00
Sebastien Loriot
667e4022f7
Merge pull request #4060 from sloriot/CGAL-doc_match_brackets
...
match @{ and @}
2019-07-18 16:26:43 +02:00
Laurent Rineau
dc02598a5c
Merge pull request #4016 from gdamiand/CGAL-more_viewers-gdamiand
...
CGAL: more viewers
2019-07-10 14:22:50 +02:00
Maxime Gimeno
261c596cfc
Merge branch 'CGAL_Qt-Fix_deprecation_warnings-GF' into CGAL_Qt-Fix_deprecation_warnings-4.14-GF
2019-07-10 14:04:34 +02:00
Maxime Gimeno
1184530530
More warnings fixed
2019-07-10 14:02:06 +02:00
Sébastien Loriot
fbafb9d06f
fix remaining mismatches and fix bugs
2019-07-10 11:40:45 +02:00
Sébastien Loriot
983645a51a
match @{ and @}
2019-07-05 21:49:46 +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
32f80cbece
Merge pull request #4018 from lrineau/CGAL-refresh_cmake_minimum_required-GF
...
CMake>=3.13: opt for for new policies up to 3.15
2019-07-01 11:16:30 +02:00
Laurent Rineau
dbb1cb6c9b
Merge pull request #3974 from afabri/Triangulation-add_ranges-GF
...
Triangulation_{2,3): Add ranges
2019-07-01 11:16:05 +02:00
Guillaume Damiand
67307dcead
Merge master to remove conflicts; plus rephrase draw documentation following Sebastien comments.
2019-06-19 15:48:10 +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
Guillaume Damiand
8a3cb666fd
Correct links to CGAL::draw functions.
2019-06-19 13:10:08 +02:00
Mael Rouxel-Labbé
7f6cb0411c
Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF
2019-06-18 08:20:16 +02:00
Andreas Fabri
2c5433fbd7
Remove a sentence as suggested by Mael
2019-06-05 17:31:27 +02:00
Andreas Fabri
c34536be24
Apply suggestions from code review
...
Co-Authored-By: Mael <mael.rouxel.labbe@geometryfactory.com>
2019-06-05 17:26:37 +02:00
Andreas Fabri
bb97332e72
Update Triangulation_3/test/Triangulation_3/include/CGAL/_test_cls_triangulation_3.h
...
Co-Authored-By: Mael <mael.rouxel.labbe@geometryfactory.com>
2019-06-05 16:40:05 +02:00
Andreas Fabri
f7b7b9957f
Merge remote-tracking branch 'cgal/master' into CGAL-null_ptr-GF
2019-06-05 14:47:11 +02:00
Laurent Rineau
39c8f7ae1f
Merge pull request #3950 from afabri/Triangulation_23-PointWithInfo-GF
...
2D and 3D Triangulations: Unify insertion of range of points with info
2019-06-05 11:20:23 +02:00
Andreas Fabri
2a044cff99
Fix and polish doc
2019-06-05 11:05:50 +02:00
Andreas Fabri
4581f1b7a8
Morte replacements
2019-06-05 08:39:55 +02:00
Andreas Fabri
5532b84b4f
nullptr_t -> std::nullptr_t
2019-06-05 07:28:56 +02:00
Andreas Fabri
e2d19b0c8d
Replace NULL and Nullptr_t with nullptr and nullptr_t
2019-06-04 23:45:44 +02:00
Andreas Fabri
1cfa22481b
indentation
2019-06-04 16:34:47 +02:00
Andreas Fabri
285cdd5be5
Add more ranges and a testsuite
2019-06-04 10:40:13 +02:00
Andreas Fabri
4c9bda8169
Use C++11 for loop in examples
2019-06-03 17:23:32 +02:00
Andreas Fabri
edd84534a9
Fix code
2019-06-03 17:02:18 +02:00
Andreas Fabri
521a5c3c83
Use std::tie
2019-06-03 15:45:53 +02:00
Andreas Fabri
16f09a73ce
typo
2019-06-03 15:42:15 +02:00
Andreas Fabri
b42fd4428d
Triangulation_{2,3): Add ranges
2019-06-03 15:36:34 +02:00
Andreas Fabri
0ed700b30c
Unify wording
2019-05-25 10:13:56 +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
Andreas Fabri
d067fb409a
uncomment
2019-05-21 17:18:11 +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
Andreas Fabri
f354210be3
Add using statements
2019-05-21 14:32:03 +02:00
Andreas Fabri
2d1c78fdd9
Unify T3
2019-05-20 18:23:08 +02:00
Mael Rouxel-Labbé
2848158354
Fix typos
2019-05-20 08:54:04 +02:00
Mael Rouxel-Labbé
0b506f5cce
Fix package dependencies
2019-05-10 12:41:25 +02:00
Sébastien Loriot
c8a3fdaff6
Merge pull request #3625 from sgiraudot/Stream_support-Enhance_color-GF
...
[Small Feature] Reworked CGAL::Color
2019-04-12 15:54:30 +02:00
Sébastien Loriot
db65bd8ecc
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch'
2019-04-11 21:38:48 +02:00
albert-github
1dd7473818
Correction of links
...
Correction of redirected links and links that moved to another place.
2019-04-11 21:37:05 +02:00
Simon Giraudot
d314711eaf
Merge remote-tracking branch 'mine/Stream_support-Enhance_color-GF' into Stream_support-Enhance_color-GF
2019-04-09 15:00:56 +02:00
Simon Giraudot
2c1ca1e893
Replace old color API using global const variable with new one using functions
2019-04-03 11:51:29 +02:00
Sébastien Loriot
124012d9f9
replace cpp11::array by std::array
2019-03-29 13:28:33 +01: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
0ce7fc09b5
turns iterator pairs into iterable ranges
2019-03-29 13:28:22 +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
fc81d3bfec
Merge pull request #3780 from afabri/CGAL-links-GF
...
Some Documentation Fixes for Issue #3457
2019-03-27 18:05:17 +01:00
Andreas Fabri
a1609350aa
Remove #include<CGAL/basic.h> amd put what is needed if something is missing
2019-03-27 15:21:33 +01:00
Andreas Fabri
a472c24185
http:/www.boost.org -> https://www.bost.org
2019-03-20 08:59:22 +01:00
Andreas Fabri
7c2674abc8
More links fixed
2019-03-20 08:38:40 +01:00
Mael Rouxel-Labbé
61b0be45eb
Fix some bad links
2019-03-15 21:14:17 +01:00
Maxime Gimeno
eaace93cf3
Merge pull request #3743 from afabri/SearchStructures-fix_code_doc-GF
...
Range and Segment Trees: Sync code and doc
2019-03-12 17:04:23 +01:00
Andreas Fabri
d0d5251cb6
Add \cgalHHasModel and \cgalModels and backtick (even in Triangulation_3)
2019-03-08 09:29:28 +01:00
Andreas Fabri
6f836b5827
T2,T3,Mesh_2: backticks, lowercase, capitalize
2019-03-04 11:03:44 +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
Sébastien Loriot
90ad079eb4
use macro for subsections
...
command used:
grep -l "###" */doc/*/PackageDescription.txt | xargs sed -i -E 's/\#\#\#\s*([[:print:]]+[[:alnum:]])\s*\#\#\#\s*$/\\cgalCRPSubsection{\1}/
2019-02-14 10:32:00 +01:00
Sébastien Loriot
42b9a0be04
fix level
2019-02-14 10:26:05 +01:00
Laurent Rineau
fdd8357915
Merge pull request #3580 from afabri/Stream_support-Color-GF
...
Fix warnings (Add/remove copy constructors, and other warnings)
Co-authored-by: Laurent Rineau <laurent.rineau@cgal.org>
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
Co-authored-by: Maxime GIMENO <maxime.gimeno@gmail.com>
2019-02-13 15:25:07 +00:00
Andreas Fabri
88add6bc7b
Regular_triangulation_3: Add undocumented Regular_triangulation_cell_base_3::hidden_points()
2019-02-07 15:24:00 +01:00
Laurent Rineau
afc3de2894
Merge branch 'master' into Stream_support-Color-GF
2019-01-23 09:37:08 +01:00
Mael Rouxel-Labbé
f10a4acfe4
Clarified RT3 test
2019-01-21 14:48:33 +01:00
Mael Rouxel-Labbé
c4b82ba14b
Added swap() and an assignement operator for RT3
2019-01-21 14:48:28 +01:00