Sébastien Loriot
427e147c7f
do not copy the iterator to avoid returning a temporary if Prevent_deref is used as Iter
2022-12-23 11:38:53 +01:00
albert-github
eed54a0ae5
spelling corrections
...
Some spelling corrections (Directories starting with `O`-`S` , first part),
some backward work
some forward work
2022-11-15 18:45:39 +01:00
Sven Oesau
80eb8601e6
Merge branch 'CGAL:master' into Region_growing-revision-soesau
2022-09-02 16:42:41 +02:00
Sébastien Loriot
2f6beec951
use T everywhere and fix forwarding
2022-08-09 22:22:02 +02:00
Sébastien Loriot
14a6da0840
fix return type
2022-08-05 15:28:37 +02:00
Sébastien Loriot
c5baff9473
add missing template parameter
2022-08-05 14:39:21 +02:00
Sébastien Loriot
8f07ed3207
correctly forward temporaries
2022-08-05 13:15:09 +02:00
Sébastien Loriot
1987ffcade
use reference type of the iterator
2022-08-05 11:21:40 +02:00
Sébastien Loriot
861588abe1
Merge 'sloriot/CGAL-std_type_traits' into master
2022-08-03 20:19:51 +02:00
Sébastien Loriot
17b9e439ec
WIP improvement on Point_set
...
--> line_fit
2022-07-21 15:51:42 +02:00
Sébastien Loriot
85bf2ef2b4
remove more conditional_ref from segment_set class
2022-07-19 15:28:05 +02:00
Laurent Rineau
371ce51842
Merge pull request #6667 from sloriot/CGAL-please_intel_2019
...
Please intel 2019 compiler
2022-06-29 09:50:48 +02:00
Sébastien Loriot
62936f8ee7
please intel 2019 compiler
2022-06-13 17:01:35 +02:00
Sébastien Loriot
5872413f37
remove boost is_same headers
2022-06-10 08:48:53 +02:00
Sébastien Loriot
3fa436459d
BOOST_MPL_ASSERT -> static_assert
2022-06-10 08:46:01 +02:00
Sébastien Loriot
4f5f8341cc
use std::enable_if_t
2022-06-10 07:37:53 +02: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
da0ba6a4ea
Merge pull request #6169 from sloriot/PM-public_typdefs
...
Fix Or_pmap
2021-12-20 18:06:31 +01:00
Sébastien Loriot
1d36ae1a57
expose typedefs
2021-12-13 09:40:40 +01:00
Sébastien Loriot
833e51129f
really use the type of the returned expression
2021-11-10 11:31:42 +01:00
Sébastien Loriot
4eb1464aed
fix Identity_map mutability and fix CGAL code using it
2021-11-09 11:37:24 +01:00
Mael Rouxel-Labbé
d6a950078a
Further enhancements to the pmap binder's constructors
2021-10-20 15:07:34 +02:00
Mael Rouxel-Labbé
79fc493392
Add a default constructor to Property_map_binder
...
Needed for example if you need to default construct AABB traits
with external pmaps that are Property_map_binders
2021-10-19 16:08:30 +02:00
Mael Rouxel-Labbé
131242bb80
Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF
2021-10-12 09:29:23 +02:00
Mael Rouxel-Labbé
8166579e55
Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_master-GF
2021-10-11 19:58:07 +02:00
Mael Rouxel-Labbé
07948c7066
Constify the 'operator[]' of non-mutable lvalue pmaps with 'put()'s
2021-10-11 12:02:22 +02:00
Mael Rouxel-Labbé
590ddf8015
Various fixes for pmaps:
...
- Use `value_type` when the returned type is not a reference
- Enforce `reference = value_type` if the returned type is not
a reference (to avoid `typename PM::reference r = get(m, k)`,
which will take a ref to a temporary if the `reference`
typedef is an actualy reference)
- Do not use `put_get_helper` if the property map is not a `lvalue`
**mutable** property map: the `put()` is `map[k] = v`, which
is broken if `operator[]` does not return a reference
- The concept `boost::lvalue_property_map_tag` requires `operator[](key)`,
not a reference in `get(map, key)`. You can have a readable property map
returning a reference through its `get(map, key)`, but if there is
no `operator[]`, it's just a `boost::readable_property_map_tag`
- Some const correctness to avoid copying maps with state
or heavy keys in `get(map, key)` / `put(map, key, value)`
- Base the category of a wrapping pmap on what it offers instead
of just forwarding the base property map's category
- Tried to do something like mutable lvalue pmap:
* `value_type& operator[](key&)`
* `ref get(map, const key&)`
* `put(map, const key&, const value_type&)`
and non-mutable lvalue pmap:
* `const value_type& operator[](const key&)`
* `ref get(map, const key&)`
but not everything fits properly...
2021-10-08 15:38:47 +02:00
Mael Rouxel-Labbé
df560987a6
Whitespace & cleaning changes
2021-10-08 12:13:43 +02:00
Maxime Gimeno
a3d1765ab4
Merge remote-tracking branch 'cgal/master' into CGAL-Clean_up_boost_versions-maxGimeno
2021-07-19 14:18:40 +02:00
Maxime Gimeno
393ae7dae6
Clean-up boost_version reqs
2021-05-12 15:03:53 +02:00
Sébastien Loriot
1faa0e2992
replace internal use of boost::shared_ptr by std::shared_ptr
2021-04-28 10:55:26 +02:00
Simon Giraudot
1794620ab9
Move index access property map to property map package
2021-04-01 09:43:14 +02:00
Laurent Rineau
38b45f79b1
Merge pull request #5468 from sloriot/CGAL-tiny_fixes
...
Mesh_3: various small bug-fixes
2021-03-03 17:29:37 +01:00
Laurent Rineau
d4c331cd37
Merge pull request #5468 from sloriot/CGAL-tiny_fixes
...
Mesh_3: various small bug-fixes
2021-03-03 16:39:52 +01:00
Sébastien Loriot
05b4734a6e
add missing const
2021-02-17 15:49:08 +01:00
Maxime Gimeno
3b70343590
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-11-16 16:19:43 +01:00
Simon Giraudot
80a5deb8e9
Merge remote-tracking branch 'mine/Classification-Simpler_IO_for_ETHZ_Random_forest-GF' into Classification-Simpler_IO_for_ETHZ_Random_forest-GF
2020-10-19 07:59:47 +02:00
Laurent Rineau
24bf8b791a
Fix a maybe-uninitialized warning
2020-10-14 14:21:15 +02:00
Mael Rouxel-Labbé
f55ef7dd50
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-10-09 18:36:17 +02:00
Sebastien Loriot
10ba34719e
Merge pull request #4728 from sloriot/PMP-cc_cleanup
...
Clean in connected components
2020-10-02 15:20:53 +02:00
Simon Giraudot
19004a7432
Merge remote-tracking branch 'mine/Classification-Simpler_IO_for_ETHZ_Random_forest-GF' into Classification-Simpler_IO_for_ETHZ_Random_forest-GF
2020-08-04 13:41:48 +02:00
Mael Rouxel-Labbé
580a1efd5c
Remove trailing whitespace / tabs
2020-05-22 15:31:50 +02:00
Mael Rouxel-Labbé
fb8463f470
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-05-22 15:17:56 +02:00
Sébastien Loriot
2169dd52aa
warnings + compilation fixes
2020-05-18 08:49:14 +02:00
Sébastien Loriot
fbd9628307
add a static bool map and use it when possible
...
also remove Static_property_map that is a duplicate of Constant_property_map
2020-05-15 18:27:33 +02:00
Sébastien Loriot
2eab2f4472
add a property map returning a const bool at compile time
2020-05-15 18:06:35 +02:00
Maxime Gimeno
049439fa6b
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-04-30 16:47:58 +02:00
Simon Giraudot
c1d8fb69b7
Move transform ranges in property_maps
2020-04-22 13:47:33 +02:00
Maxime Gimeno
4e6fb685c6
Merge remote-tracking branch 'mine/CGAL_IO-maxGimeno' into HEAD
2020-03-27 11:11:10 +01:00
Sébastien Loriot
2e180ac589
extra run of the script to remove tabs and trailing whitespaces
2020-03-26 19:29:44 +01:00
Sébastien Loriot
a0345b135c
Update branch from master after trailing whitespaces and tabs removal
2020-03-26 19:29:05 +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
2a13c8cbec
Update from master
2020-03-20 09:05:58 +01:00
Simon Giraudot
0c23a65028
Add variant identity map read only without lvalue
2020-03-19 15:50:11 +01:00
Mael Rouxel-Labbé
c33e8b60d7
Merge remote-tracking branch 'maxgimeno/PMP-Default_pmap-maxGimeno' into CGAL_IO-maxGimeno
2020-03-17 09:33:19 +01:00
Mael Rouxel-Labbé
d6bbf2bb5f
Fix implementation of initialized index map getters
2020-03-04 11:56:50 +01:00
Mael Rouxel-Labbé
b1da380064
Rework Surface_mesh IO
2020-01-28 18:36: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
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
Andreas Fabri
e2d19b0c8d
Replace NULL and Nullptr_t with nullptr and nullptr_t
2019-06-04 23:45:44 +02:00
Mael Rouxel-Labbé
713f5a2d45
Resolve conflicts between master and 4.14-based branch that fixes manifoldness
...
Conflicts resulting from the switch to C++11 (BOOST_FOREACH disappearing etc.)
2019-05-07 10:34:16 +02:00
Sébastien Loriot
f62624c4f9
replace cpp11::tuple by std::tuple
2019-03-29 13:28:33 +01:00
Sébastien Loriot
82c13e6e74
remove cpp11 workaround in kernel related packages
2019-03-29 10:41:50 +01:00
Andreas Fabri
5b62f06871
Fix merge conflicts
2018-11-12 13:02:52 +01:00
Sébastien Loriot
e925b1aba6
Merge pull request #3225 from maxGimeno/Demo-Remove_polyhedron_item-GF
...
Polyhedron demo: remove the Scene_polyhedron_item
2018-10-30 15:50:17 +01:00
Laurent Rineau
821f9c015e
Merge pull request #3311 from sloriot/Doc-Pkg_link_name
...
Update the name of package names reference links
2018-10-29 10:27:53 +01:00
Sébastien Loriot
915c3e7fec
use a vector for dynamic properties of const Surface_mesh
...
also done for OpenMesh types
2018-10-25 17:05:21 +02:00
Maxime Gimeno
7a146d415c
Fix conflicts
2018-10-09 15:30:21 +02:00
Sébastien Loriot
3dd0aa112d
rename macro not following the convention
2018-10-08 10:28:55 +02:00
Sébastien Loriot
a2e8a1c68f
add the suffix Ref to doxygen link to reference
2018-10-08 10:26:56 +02:00
Mael Rouxel-Labbé
3b9464f549
Replaced No_constraint_pmap with Constant_property_map
2018-07-19 17:05:07 +02:00
Maxime Gimeno
5f7293f859
Finish removing polyhedorn
2018-07-12 10:18:50 +02:00
Sébastien Loriot
e1e1512869
Merge 'PMP-isotropic_remeshing_user_projection' into PMP-isotropic_remeshing_user_projection
2018-06-06 18:00:32 +02:00
Laurent Rineau
cb14375778
Merge branch 'master' into Property_map-Point_kernel_converter_map-GF
2018-05-29 10:58:28 +02:00
Laurent Rineau
e86c3c4bba
Merge pull request #3102 from afabri/Property_map-empty_vector-GF
...
Property_map: Fix make_property_map(std::vector&) for an empty vector
2018-05-28 13:58:47 +02:00
Andreas Fabri
6b8dd6beed
Fix make_property_map(std::vector&) for an empty vector
2018-05-22 17:48:36 +02:00
Sébastien Loriot
90faf5d060
simplify initialization of CC
2018-05-18 14:10:31 +02:00
Sébastien Loriot
1e9669cec3
fix doc
2018-05-04 10:49:48 +02:00
Sébastien Loriot
8bc315c974
make it work with any Kernel object
2018-05-03 15:05:47 +02:00
Maxime Gimeno
a7721389b2
Forward declare the Cartesian_converter to avoid messing with the dependencies tree.
2018-04-27 09:59:25 +02:00
Maxime Gimeno
dbb4b9dc20
Fixes
2018-04-26 15:34:32 +02:00
Maxime Gimeno
7298214c57
Clean-up
2018-04-26 14:14:31 +02:00
Maxime Gimeno
fbc7af1345
Add a property_map that converts points from a cartesian kernel to another, for a mesh.
2018-04-26 10:19:21 +02:00
Mael Rouxel-Labbé
288417a9ed
Renamed Default_property_map to Constant_property_map
2018-04-03 14:11:49 +02:00
Mael Rouxel-Labbé
a12ecf4a43
Extend Default_property_map to be writeable
2018-04-03 12:52:28 +02:00
Mael Rouxel-Labbé
ba8bc776b5
Fixed Default_property_map's get()
2018-04-03 12:31:51 +02:00
Andreas Fabri
5b04ec688a
Property_map: Remove unused parameter (leading to a warning)
2018-02-07 07:37:45 +00:00
Andreas Fabri
ee8c0fad5d
Changes after @sloriot's review
2017-12-14 10:49:02 +00:00
Laurent Rineau
7df26c594b
Merge branch 'master' into BGL-generic_property_map-GF
2017-12-14 09:46:01 +01:00
Andreas Fabri
eaffe696ca
cleanup of code
2017-11-29 11:06:34 +00:00
Andreas Fabri
1f8849dfea
Make dynamic property API similar to the non dynamic case
2017-11-29 08:28:16 +00:00
Sébastien Loriot
9c19e70db9
fix pmap doc
2017-11-28 14:01:07 +01:00
Sébastien Loriot
7ef29476ab
Add a property map with bool as value_type based on a set-like container
2017-11-28 10:21:42 +01:00
Jane Tournois
2feb79a16b
Add example for dynamic_property_map
2017-11-27 16:35:30 +00:00
Laurent Rineau
31804d3c0e
Merge pull request #2508 from afabri/Property_map-fix_Dynamic_property_map-GF
...
Property_map: Fix put(Dynamic_property_map,..)
2017-11-15 16:48:30 +01:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Andreas Fabri
f74cf7fff6
value_type -> reference
2017-11-06 11:48:05 +01:00