Mostafa-ashraf19
68b031e113
Uses overloading functions instead of different fill_buffer names.
2022-10-04 18:43:14 +02:00
Mostafa-ashraf19
796ec13391
Modified GraphicBuffer class name to snake case.
2022-10-03 13:27:22 +02:00
Mostafa-ashraf19
1108403caf
Modified T3
2022-10-01 18:26:09 +02:00
Guillaume Damiand
bc2158809f
two versions of add
2022-09-26 18:45:01 +02:00
Mostafa-ashraf19
e77c52b196
Changed functor name
2022-09-23 22:29:33 +02:00
Mostafa-ashraf19
cb4c77f1eb
changed functor names.
2022-09-23 22:23:10 +02:00
Guillaume Damiand
cf51780c0d
small modifs
2022-09-23 19:48:07 +02:00
Mostafa-ashraf19
9c1b89c202
Modified T3 templates to test functors
2022-09-23 18:22:51 +02:00
Mostafa-ashraf19
6c95908e6c
Renamed functors and GB, added handles to test functors.
2022-09-23 18:03:11 +02:00
Andreas Fabri
d3fca65ae5
CGAL: No longer per package assertions
2022-09-23 12:49:40 +01:00
Guillaume Damiand
a569437a14
Correction for draw triangulation 3
2022-09-23 09:04:58 +02:00
Mostafa-ashraf19
642c055db0
QUESTION
2022-09-22 23:08:39 +02:00
Mostafa-ashraf19
0ad5f6a9ee
Modified to use new APIs version.
2022-09-22 23:07:54 +02:00
Mael Rouxel-Labbé
43378edd1f
Minor speed up for T3::operator==
2022-09-02 14:29:15 +02:00
Mael Rouxel-Labbé
7d9d7844b1
Fix T23::operator== for dimension 0
2022-09-02 13:42:33 +02:00
Sébastien Loriot
861588abe1
Merge 'sloriot/CGAL-std_type_traits' into master
2022-08-03 20:19:51 +02:00
Guillaume Damiand
f2630fa4b9
Merge branch 'master' into CMap_index-gdamiand
2022-07-19 09:44:16 +02:00
Sébastien Loriot
c9c6b30cf0
Merge sloriot/CGAL-std_type_traits into master
2022-06-23 16:35:37 +02:00
Laurent Rineau
782bd1b106
Merge pull request #6622 from kda/initialize
...
initialize some stack variables
2022-06-15 10:20:55 +02:00
Laurent Rineau
2feb9a29ce
Merge pull request #6655 from lrineau/Triangulation_3-fix_use_after_free-GF
...
Triangulation_3: fix a use-after-free in `T3::remove` and `T3::move*` methods
2022-06-15 10:20:48 +02:00
Laurent Rineau
c2fa2cb9fe
Merge pull request #6655 from lrineau/Triangulation_3-fix_use_after_free-GF
...
Triangulation_3: fix a use-after-free in `T3::remove` and `T3::move*` methods
2022-06-15 10:18:57 +02:00
Laurent Rineau
14b582f83d
More use our free of `outer_map`
2022-06-10 09:15:11 +02:00
Sébastien Loriot
ac8b6d4731
boost::is_same --> std::is_same
2022-06-10 08:18:20 +02:00
Sébastien Loriot
4f5f8341cc
use std::enable_if_t
2022-06-10 07:37:53 +02:00
Kevin Athey
d6b0efbea4
initialize members of 'loc' instead of the array.
2022-06-08 16:06:20 -07:00
Kevin Athey
a40be70ff7
change initialized value to -1.
2022-06-08 15:28:25 -07:00
Laurent Rineau
f438a2ed3a
Fix a use-after-free
...
In an `unordered_map`, any insertion can invalidate iterators,
when the load factor triggers a rehashing.
2022-06-08 15:52:01 +02:00
Kevin Athey
ff749f7fd6
initialize some stack variables
2022-05-27 11:46:34 -07:00
Guillaume Damiand
999a813b35
Rename XXX_handle into XXX_descriptor for CMap, GMap, LCC
2022-05-05 13:34:19 +02:00
Laurent Rineau
ceb41bf206
Fix crash during binary I/O of Triangulation_3
2022-04-27 14:19:21 +02:00
Mael Rouxel-Labbé
19162905eb
Clean and factorize robust circumcenter filtered traits
2022-04-04 11:33:27 +02:00
Mael Rouxel-Labbé
e7d240e7de
Add robust_filtered_(non-weighted)_circumcenter + split the traits
...
Splitting as to not force the base traits to require weighted point predicates
and constructions if we only need the non-weighted version
2022-04-04 11:33:27 +02:00
Mael Rouxel-Labbé
4df8440f15
Add a set_circumcenter() to DTCb_with_circumcenter: useful for infinite cells
2022-04-04 11:33:27 +02:00
Andreas Fabri
115fa5ab39
Remove Geomview from the manual and the demos
2021-12-14 14:01:21 +00:00
Guillaume Damiand
2bbcabe71b
The size of argv array is now 2, ending with nullptr.
2021-11-11 17:23:37 +01:00
Guillaume Damiand
ee11c858b5
The size of argv array is changed to 1 in all basic viewers.
2021-11-10 09:59:48 +01:00
Laurent Rineau
bac0822298
Merge pull request #5199 from GilesBathgate/fix-uninitialized-member-triangulation3
...
Fix uninitialized member in Triangulation_3.h
2021-09-29 11:46:53 +02:00
Sébastien Loriot
5945e48a3e
restore sub-directories accidently removed in 98e471849b
2021-09-17 08:14:06 +02:00
Maxime Gimeno
d4b0b49f33
Use "real" extensions and fix loading.
2021-08-30 15:41:52 +02:00
Sébastien Loriot
98e471849b
moving files from internal to PKG/internal
2021-08-26 11:33:39 +02:00
Laurent Rineau
d6b2c8d9dc
Merge pull request #5671 from maxGimeno/CGAL_IO-Add_missing-deprecated_functions-maxGimeno
...
CGAL_IO: Add missing fallbacks
# Conflicts:
# BGL/include/CGAL/boost/graph/IO/INP.h
# Point_set_processing_3/include/CGAL/IO/write_xyz_points.h
2021-05-18 18:13:38 +02:00
Maxime Gimeno
9533a9fea8
remove CGAL/result_of.h and move its content to config.h
2021-05-07 12:51:07 +02:00
Sébastien Loriot
4e519a3c7a
move documented IO functions in IO namespace
2021-05-05 13:15:37 +02:00
Sébastien Loriot
fb6f703b55
IO namespace for files in IO directories
2021-05-04 14:36:06 +02:00
Laurent Rineau
b1d78a909f
Merge pull request #5433 from sloriot/CGAL-last_bind
...
Remove last bind
2021-03-03 17:32:59 +01:00
Laurent Rineau
8fc88a9463
Merge pull request #5409 from lrineau/Triangulation_3-fix__move__semantic__of__Triangulation_hierarchy_3-GF
...
Fix the move-semantic of Triangulation_hierarchy_3
2021-02-18 15:19:11 +01:00
Sébastien Loriot
4bb0406240
do not include boost/bind.hpp (shouldn't be used anymore) + fix remaining bind
...
(nasty using namespace boost!)
2021-02-12 15:35:19 +01:00
Laurent Rineau
a735e849c0
Merge pull request #5152 from sloriot/CGAL-remove_bind
...
Replace usages of boost::bind
2021-02-05 16:14:04 +01:00
Laurent Rineau
c5ba414c72
Merge pull request #5336 from maxGimeno/GraphicsView-Use_opengl_4_1_context-maxGImeno
...
Graphics_view: Upgrade glsl version in basic_viewer_shaders
2021-02-05 16:12:42 +01:00
Laurent Rineau
7e2ee4946d
Merge pull request #5152 from sloriot/CGAL-remove_bind
...
Replace usages of boost::bind
2021-02-05 16:07:34 +01:00
Laurent Rineau
b134ed8246
Merge pull request #5336 from maxGimeno/GraphicsView-Use_opengl_4_1_context-maxGImeno
...
Graphics_view: Upgrade glsl version in basic_viewer_shaders
2021-02-05 16:07:32 +01:00
Laurent Rineau
8dbf50a94b
Create CGAL::make_filled_array
...
That function template will replace my adhoc
`create_array_of_triangulation`.
2021-02-03 21:50:10 +01:00
Laurent Rineau
de8bf2fd87
Fix Triangulation_hierarchy_3::operator=(Triangulation_hierarchy_3&&)
2021-02-01 23:17:21 +01:00
Laurent Rineau
f218fb8d3a
Fix the segfault in the previous commit (WIP: Second try)
2021-02-01 14:46:42 +01:00
Laurent Rineau
b4256accb9
WIP: Second try
...
Something is off, because the test suite does not pass.
2021-01-28 16:04:27 +01:00
Laurent Rineau
ce75d010e9
First try: use nullptr as a criterion to detect a moved-from object
2021-01-28 14:19:22 +01:00
Maxime Gimeno
a85cf6ed52
Move the include in the ifdef
2021-01-26 09:45:18 +01:00
Maxime Gimeno
04753381e5
Rename file and add ::Qt
2021-01-12 13:22:34 +01:00
Maxime Gimeno
95192d6d4b
factorize context initialization
2021-01-12 13:08:58 +01:00
Maxime Gimeno
2a212bb2a8
Upgrade non-compatibility sahders in Basic_viewer to glsl 150 and add a context creation before the creation of the QApp in draw_xxx examples
2021-01-07 13:06:40 +01:00
Sébastien Loriot
1e249afdb3
remove some boost::bind
2021-01-06 12:59:11 +01:00
Andreas Fabri
24c9ef34b7
Constrcut double to avoid VC++ warning C5055
2021-01-01 10:38:31 +00:00
Giles Bathgate
b95de74a7a
Fix uninitialized member in Triangulation_3.h
2020-11-18 21:26:59 +00:00
Jane Tournois
10a28d1262
attempt to fix "variable used non initialized"
2020-11-05 11:13:26 +01:00
Jane Tournois
b87e226ebb
Simplex_3 can be dereferenced in range-for-loop (not Cell_handle)
...
this error was found thanks to a clang warning :
warning: loop variable 's' has type 'const Simplex &' (aka 'const Triangulation_simplex_3&')
but is initialized with type
'CGAL::Triangulation_segment_simplex_iterator_3' resulting in a copy [-Wrange-loop-construct]
2020-11-03 18:53:02 +01:00
Jane Tournois
667171927a
fix uninitialized parameter, and member, warnings
2020-11-03 17:57:30 +01:00
Jane Tournois
41e1e40827
fix the case ...-vertex-cell-end
2020-10-29 11:59:02 +01:00
Jane Tournois
d48aa33305
fix degenerate some degenerate cases
...
in particular iterations ending with :
- cell-vertex-facet
- vertex-edge-vertex
- cell-vertex-facet
2020-10-27 15:32:01 +01:00
Jane Tournois
2bf4da4edc
Merge branch 'master' into Triangulation_segment_traverser_3-tvanlank__rewrote_history-GF
...
# Conflicts:
# Installation/CHANGES.md
2020-10-19 16:27:04 +02:00
Jane Tournois
57250ce637
Merge remote-tracking branch 'cgal/master' into Triangulation_segment_traverser_3-tvanlank__rewrote_history-GF
...
# Conflicts:
# Installation/CHANGES.md
2020-09-28 16:01:05 +02:00
Jane Tournois
5c8df6672a
remove CGAL_CFG_MATCHING_BUG_ variants
...
the "matching bug" of msvc has been fixed since at least vs 2015
2020-09-25 14:25:14 +02:00
Laurent Rineau
022b1a71d0
Merge branch 'releases/CGAL-5.0-branch'
2020-07-21 15:27:49 +02:00
Laurent Rineau
2e8a59d570
Merge branch 'releases/CGAL-4.14-branch' into releases/CGAL-5.0-branch
2020-07-21 15:25:54 +02:00
Sébastien Loriot
0a530e39e7
remove extra const
2020-07-20 15:28:50 +02:00
Laurent Rineau
1e6a5ac636
Fix the use of Construct_point_3::result in Periodic_3
2020-07-16 15:11:23 +02:00
Maxime Gimeno
41175cd505
WIP
2020-07-16 14:47:41 +02:00
Jane Tournois
e7bfe4cb6f
add missing license header
2020-07-06 15:27:16 +02:00
Jane Tournois
ea3ef4f1b7
ltnext can also be OUTSIDE_AFFINE_HULL, not necessarily facet
...
in particular when query segment ends on a vertex
2020-07-06 08:19:12 +02:00
Jane Tournois
9e8d12d9cf
Merge remote-tracking branch 'cgal/master' into Triangulation_segment_traverser_3-tvanlank__rewrote_history-GF
...
# Conflicts:
# Installation/CHANGES.md
2020-07-06 06:57:32 +02:00
Jane Tournois
99ea974425
remove unnecessary includes
2020-07-06 06:54:05 +02:00
Jane Tournois
3ec4c5460a
fix license header
2020-07-06 06:53:49 +02:00
Jane Tournois
4eb10d8323
fix license header
2020-07-06 06:44:00 +02:00
Laurent Rineau
07eacf5231
Merge pull request #4795 from janetournois/Mesh_3-fix_optimisers_parallel-jtournois
...
Mesh_3 - fix parallel optimisers
2020-06-30 16:38:05 +02:00
Laurent Rineau
ad23db27a3
Merge pull request #4795 from janetournois/Mesh_3-fix_optimisers_parallel-jtournois
...
Mesh_3 - fix parallel optimisers
2020-06-30 16:36:58 +02:00
Jane Tournois
bce4b4e80a
Revert "add an assertion in make_canonical"
...
This reverts commit f55ffabbe0 .
In the exuder, it can happen that this function takes the triple
(Vertex_handle(), Vertex_handle(), Vertex_handle())
so the assertion does not hold
2020-06-26 14:57:02 +02:00
Laurent Rineau
bcf8409e46
Merge pull request #4611 from rathod-sahaab/replace-throws-with-noexcept
...
replaced throw() with noexcept
2020-06-23 18:50:20 +02:00
Jane Tournois
3b8c06f836
fix adjacent_vertices_threadsafe
...
internal::Has_member_visited<Vertex> is not threadsafe
2020-06-19 13:31:52 +02:00
Jane Tournois
daaf92d0ac
rename make_canonical() to make_canonical_oriented_triple()
...
to make it more explicit
2020-06-19 13:31:51 +02:00
Jane Tournois
f55ffabbe0
add an assertion in make_canonical
...
it also helps to make the code more explicit
2020-06-19 13:31:51 +02:00
Jane Tournois
ad9c357f33
add adjacent_vertices_threadsafe and use it in nearest_power_vertex()
2020-06-19 13:31:50 +02:00
Laurent Rineau
dcc4fb1cc1
Merge remote-tracking branch 'cgal/master' into CGAL-move_semantic_for_triangulations-GF
...
# Conflicts:
# STL_Extension/include/CGAL/Compact_container.h
2020-05-20 09:46:26 +02:00
Jane Tournois
9a722c4ef1
Merge branch 'master' into Triangulation_segment_traverser_3-tvanlank__rewrote_history-GF
2020-04-20 06:40:24 +02:00
Jane Tournois
0e45fdc64e
use "permanent" coplanar_orientation() and collinear()
...
instead of generating it on the fly each time
2020-04-16 14:18:01 +02:00
Sébastien Loriot
a49881536d
fix compilation errors and warnings
2020-04-10 18:30:50 +02:00
Sébastien Loriot
d845d6ce8d
Merge remote-tracking branch 'cgal/master'
2020-04-10 18:16:18 +02:00
Sébastien Loriot
2876ad9af1
remove trailing whitespaces
2020-04-10 18:15:32 +02:00
Mael Rouxel-Labbé
c16c1a7ea3
Merge remote-tracking branch 'cgal/master' into CGAL-Optimal_bounding_box-GF
2020-04-10 16:10:11 +02:00
Jane Tournois
163f3c59fb
add range iterators
2020-04-07 07:05:19 +02:00
Jane Tournois
a69d3f1188
replace all the std::get<i>(tuple) by private accessors
...
the code gets easier to read and write
2020-04-06 13:23:39 +02:00
Jane Tournois
2eadd494a8
replace CGAL::cpp11::tuple by std::tuple
2020-04-06 07:02:21 +02:00
Jane Tournois
1ef0d4b83d
segment traverser end() does not need s and t as parameters
...
the API gets simpler and easier with these changes
+ fix last valid value of the simplex iterator in some cases
after this commit, only the test test_triangulation_on_a_grid() keeps failing
2020-04-03 18:02:37 +02:00
Jane Tournois
b9660603b9
add the new API in the code
...
and adapt examples and tests consistently
2020-04-03 06:52:25 +02:00
Maxime Gimeno
b6a5f23e4e
remove trailing whitespaces
2020-04-02 15:02:27 +02:00
rathod-sahaab
dbbee667af
replaced throw() with noexcept
2020-04-02 18:31:00 +05:30
Maxime Gimeno
e02a3fc37e
Merge remote-tracking branch 'cgal/master' into TDS-file_input-maxGimeno
2020-04-02 15:00:23 +02:00
Maxime Gimeno
383eb3d147
Merge tag 'master_before_no_tws_nor_tabs' into TDS-file_input-maxGimeno
2020-04-02 14:56:03 +02:00
Jane Tournois
3aae44f631
apply Monique's doc review
2020-04-02 07:44:53 +02:00
Jane Tournois
a1b292e805
Merge remote-tracking branch 'cgal/master' into Triangulation_segment_traverser_3-tvanlank__rewrote_history-GF
2020-04-01 13:52:57 +01:00
Sébastien Loriot
d1a323c730
extra run of the script to remove tabs and trailing whitespaces
2020-03-26 19:24:14 +01:00
Sébastien Loriot
86e25f7e71
Update branch from master after trailing whitespaces and tabs removal
2020-03-26 19:23:54 +01:00
Sébastien Loriot
9f2eafd06e
extra run of the script to remove tabs and trailing whitespaces
2020-03-26 19:17:02 +01:00
Sébastien Loriot
35b83deffd
Update branch from master after trailing whitespaces and tabs removal
2020-03-26 19:16:25 +01: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
590612a563
run the script to remove tabs and trailing whitespaces
2020-03-26 13:25:16 +01:00
Mael Rouxel-Labbé
2556196dad
Merge remote-tracking branch 'cgal/master' into CGAL-Optimal_bounding_box-GF
2020-03-23 08:59:49 +01:00
Sébastien Loriot
149c7a4afc
Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch'
2020-03-19 16:29:33 +01:00
Sébastien Loriot
d10359d09e
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch'
2020-03-19 16:27:55 +01:00
Mael Rouxel-Labbé
100304667d
Remove CGAL::internal::boost_::function_property_map
...
This file was duplicated from BOOST 1.64 because it appeared in a boost
release that was younger than the oldest boost release supported by CGAL
when the file was first required.
The minimum boost version (1.57) now required by CGAL is younger
than the version in which the file appeared in boost (1.51)
and it can thus be removed.
2020-03-12 20:58:44 +01:00
Mael Rouxel-Labbé
fe1fd95d23
Fix always returning by copy when it is possible to return by reference
2020-03-09 15:31:51 +01:00
Maxime Gimeno
52cf9815e4
Remove free function and fix TDS3 test
2020-02-28 15:33:03 +01:00
Maxime Gimeno
66cd3401f9
Add a generic function in TDS_3 that takes a boolean argument to decide how to take care of the infinite_vertex, and use it in the T3 functions.
2020-02-26 10:57:55 +01:00
Laurent Rineau
7508a6f93c
Merge remote-tracking branch 'cgal/master' into CGAL-move_semantic_for_triangulations-GF
2020-02-12 17:05:49 +01:00
Laurent Rineau
24082a7114
Fix compilation errors, with a few compiler
...
```
include/CGAL/Triangulation_hierarchy_3.h:163:23: error: invalid use of 'this' at top level
noexcept(noexcept(this->Tr_Base::swap(tr)))
^~~~
```
That is actually the subject of a C++ Defect:
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1207
Anyway, this was used only for the `noexcept` specification of `swap`
functions, and I no longer use `swap` for the move semantic. I can
remove those noexcept` specifications.
2020-02-12 16:30:26 +01:00
Guillaume Damiand
72cb67bfff
Allows to deal with weighted points.
2020-02-12 10:34:15 +01:00
Mael
35f895db66
Merge branch 'master' into Spatial_sort-parallel-GF
2020-02-06 12:00:33 +01:00
Laurent Rineau
4261d4635b
Less use of swap
2020-02-04 10:12:29 +01:00
Laurent Rineau
20bb2c8428
Add move-semantic to CT_plus_2 and Tr_hierarchy_2
2020-01-31 16:28:07 +01:00
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
85712ba28c
WIP replacing tbb deprecated includes.
2020-01-14 15:03:20 +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
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
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
Jane Tournois
a5bf1e1662
make walk_to_next_3() const
...
and declare variables later when possible
2019-10-14 16:04:56 +02:00
Jane Tournois
d145abaf9a
temporarily change the example for debugging : the commented queries do pass
2019-10-08 17:39:35 +02:00
Jane Tournois
80553fbfb1
improve deal of degenerate cases for simplex traverser
2019-10-08 16:48:41 +02:00
Jane Tournois
27eedb168a
fix the case where source, target, and vert[i] are aligned
...
Revert "deal with another degenerate case"
This reverts commit f269280dd6 .
2019-10-07 17:38:27 +02:00
Jane Tournois
aaf8aa404e
fix moving to end()
2019-10-04 16:21:17 +02:00
Jane Tournois
f269280dd6
deal with another degenerate case
...
when reaching end(), and when source, target, and the vertex vi are aligned,
o0 is ZERO and o1 is ZERO too
but target target can be `inside` anyhow
2019-10-04 14:30:43 +02:00
Laurent Rineau
3c06351ec5
Fix operator-> and add const to the reference and pointer types
2019-10-03 15:02:34 +02:00
Jane Tournois
d4289524a9
fix the constructor of Triangulation_segment_cell_traverser
...
until now, when the query segment started exactly on a vertex/edge/facet,
the constructor was setting _cur to one cell incident to this vertex/edge/facet,
not necessarily the one that was intersected by the segment query
this commit fixes it by introducing the function
`jump_to_intersecting_cell()`, that changes _cur to point to the right cell
2019-10-03 12:25:36 +02:00
Jane Tournois
5813b65267
fix the end conditions of simplex iterator
...
now we get the last simplex traversed before getting end()
2019-10-03 12:25:36 +02:00
Laurent Rineau
3694d7a005
Only use polymorphism if CGAL_TST_ASSUME_CORRECT_TYPES is undefined
2019-09-12 13:10:14 +02:00
Laurent Rineau
c78d4b66a9
Add SPDX license headers
2019-09-12 10:01:20 +02:00
Laurent Rineau
2acb975ba4
Merge 'cgal/master' to fix conflicts
2019-09-11 14:35:38 +02:00
Laurent Rineau
e4e065fad5
'how to make superclass for inserter pattern.txt' turned to comment
2019-09-11 11:22:36 +02:00
Laurent Rineau
b438e73b4b
cleanup: synchronize with the older branch
2019-09-11 11:04:34 +02:00
Jane Tournois
9d23b2f20c
move functions from Triangulation_3 to the traverser header
...
now Triangulation_3.h is the same as in cgal/master branch,
and everything specific to the traverser has been moved to
the traverser header
2019-09-10 19:26:43 +02:00
Jane Tournois
3f96a41f93
fix warning : code not reached
2019-09-10 19:21:45 +02:00
Jane Tournois
4e419e9c75
little cleaning around CGAL_FAST_TRAVERSER
...
using this code speedups the traversal by 20% with Epick, 35% with Epeck
and our tests remain valid,
so we can remove the macro and activate the code
2019-09-10 19:21:45 +02:00
Jane Tournois
0d6a9e8367
add a benchmark for simplex traverser and cell traverser
2019-09-10 19:21:45 +02:00
Laurent Rineau
bbf559ee17
Merge remote-tracking branch cgal/master into Triangulation_segment_traverser_3-tvanlank
2019-09-10 19:21:38 +02:00
Laurent Rineau
88a915779f
Merge tag 'base2018' into HEAD
...
# Conflicts:
# Triangulation_3/examples/Triangulation_3/CMakeLists.txt
# Triangulation_3/include/CGAL/Triangulation_3.h
# Triangulation_3/include/CGAL/Triangulation_utils_3.h
2019-09-10 18:41:08 +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
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
Andreas Fabri
f7b7b9957f
Merge remote-tracking branch 'cgal/master' into CGAL-null_ptr-GF
2019-06-05 14:47:11 +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
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
b42fd4428d
Triangulation_{2,3): Add ranges
2019-06-03 15:36:34 +02:00
Andreas Fabri
d067fb409a
uncomment
2019-05-21 17:18:11 +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
Sébastien Loriot
124012d9f9
replace cpp11::array by std::array
2019-03-29 13:28:33 +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
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é
c4b82ba14b
Added swap() and an assignement operator for RT3
2019-01-21 14:48:28 +01:00
Andreas Fabri
380cffffb1
Remove copy constructor instead of adding operator= as it triggers a compilation error VC12 Poisson
2019-01-15 09:32:21 +01:00
Andreas Fabri
806ba2ec98
Add operartor= for DT3
2019-01-10 18:29:52 +01:00
Sébastien Loriot
61169b394e
Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch'
2019-01-04 17:19:19 +01:00
Mael Rouxel-Labbé
b6f6aeb844
Merge remote-tracking branch 'mine/T3-Fix_weighted_ranges_insertion_removal-GF' into T3-Fix_weighted_ranges_insertion_removal-GF
2018-12-18 13:20:58 +01:00
Mael Rouxel-Labbé
82e458da80
Replaced TDS template specialization with tag-based detection
2018-11-14 07:58:08 +01:00