Guillaume Damiand
f2630fa4b9
Merge branch 'master' into CMap_index-gdamiand
2022-07-19 09:44:16 +02:00
Guillaume Damiand
999a813b35
Rename XXX_handle into XXX_descriptor for CMap, GMap, LCC
2022-05-05 13:34:19 +02:00
Andreas Fabri
238a2e1b62
Remove unused #include
2022-05-03 17:01:00 +01:00
Andreas Fabri
fd20beeef7
Use vertices_around_target()
2022-05-03 15:09:05 +01:00
Andreas Fabri
abb54bf0b8
BGL: Add adjacency_iterator for several classes
2022-05-03 14:02:21 +01:00
Laurent Rineau
95b6bf33a7
Merge pull request #6395 from afabri/TDS-better_initialization_of_Unique_hash_map-GF
...
TDS: Initialize the size of Unique_hash_map
2022-03-18 15:58:28 +01:00
Andreas Fabri
f3db661acb
Deal a little bit with Linear_cell_complex and Combinatorial_map
2022-03-09 14:13:31 +00:00
Laurent Rineau
258d704a90
Merge pull request #6209 from sloriot/PMP-std_instead_of_boost
...
Use features available in std instead of boost
2022-02-24 19:57:17 +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
Andreas Fabri
440a8dfb7b
Fix file name
2022-02-03 08:41:04 +00:00
Andreas Fabri
735752bec9
Do the remaining changes after Laurent's check
2022-02-03 08:02:11 +00: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
Sébastien Loriot
b4c0e6ef29
remove unused parameter
2020-03-27 19:12:07 +01:00
Sébastien Loriot
620dfa40fc
extra run of the script to remove tabs and trailing whitespaces
2020-03-27 08:37:32 +01:00
Sébastien Loriot
ba42fcb6ca
Update branch from master after trailing whitespaces and tabs removal
2020-03-27 08:36:40 +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
af913f781a
fix dynamic properties for LCC
2020-03-13 12:28:02 +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
4581f1b7a8
Morte replacements
2019-06-05 08:39:55 +02:00
Andreas Fabri
b918ab4ba7
Move internal class from Polyhedron to BGL
2018-03-24 11:41:30 +01:00
Maxime Gimeno
c3215b9331
Move graph_has_property from namespace boost to namespace CGAL and provide some doc for it.
2018-01-22 12:43:29 +01:00
Guillaume Damiand
34b1e620c1
Remove my copy of cgal/bgl/graph/io.h
2017-11-24 11:18:01 +01:00
Guillaume Damiand
a189c1b1cc
Use generic load_off function (in cgal/bgl/graph/) instead of my own copy. For that, add the degree function that takes a face descriptor as parameter.
2017-11-24 11:16: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
Martial Tola
6ce7afb6e0
fix bug -> 2x 2 missing "inline" to prevent duplicate symbols during link process...
2017-10-01 16:07:33 +02:00
Guillaume Damiand
cc4faa1151
Reorder #include, trying to solve boost bug about flat_map.hpp.
2017-06-29 10:35:02 -04:00
Guillaume Damiand
d2f80b3da9
Rename internal namespace to avoid conflict
2017-06-28 09:43:24 -04:00
Guillaume Damiand
6244136d3c
Remove two warnings (thanks laurent)
2017-06-27 12:25:45 -04:00
Guillaume Damiand
5089b05ace
Add local version of read and write off for bgl; to remove when small feature generic read/write off will be integrated.
2017-06-14 11:41:25 -04:00
Guillaume Damiand
4b196e686b
Some cleanup
2017-05-12 08:37:11 -04:00
Guillaume Damiand
a22a5fbd21
Update BGL LCC examples and tests following the modification of the API (helper class)
2017-05-10 13:27:37 -04:00
Guillaume Damiand
42a1419dbf
Document class Cell_attribute_with_id
2017-05-10 08:22:22 -04:00
Guillaume Damiand
5e5868418b
Add reserve function.
2017-04-19 14:12:23 -04:00
Guillaume Damiand
8a5828dbd5
Update licence header
2017-04-19 08:42:17 -04:00
Guillaume Damiand
d343811416
One more example compile.
2017-04-18 16:51:40 -04:00
Guillaume Damiand
f8f2506a38
add graph_has_property for lcc
2017-04-18 16:18:03 -04:00
Guillaume Damiand
755272148a
Cleanup BGL for LCC; add shortcut for item with id to simplify definition.
2017-03-31 17:11:36 -04:00
Guillaume Damiand
5030a424f3
Remove unused parameter
2017-03-29 12:47:37 -04:00
Guillaume Damiand
af7a401afd
Bug fix in operator++ for edge; we need to test that we are not on the end before to do a second ++
2017-03-29 12:47:01 -04:00
Guillaume Damiand
13ed16043b
Update BGL for LCC and continue on examples/tests
2017-03-29 14:22:27 -04:00