Sébastien Loriot
fc034c6a5d
boost::unit -> std::uint
2023-04-23 18:40:39 +02:00
Mael Rouxel-Labbé
b597aa8aab
Add is_valid_*_descriptor() overloads for Surface_mesh
2022-10-04 22:19:35 +02: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
Sébastien Loriot
6d3176e061
move Named_parameters class in STL_extension
...
helpers stay in BGL because it depends on BGL tags
2022-01-07 15:12:22 +01: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
Mael Rouxel-Labbé
863ab7541c
Various whitespace fixes
2021-10-05 12:14:03 +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
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
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
Sébastien Loriot
2f81a21523
Merge 'CGAL-named_function_parameters' for 4.13-branch into 4.14-branch
...
Conflicts resolved by hand
2019-07-28 22:30:13 +02:00
Sébastien Loriot
560c77f567
rename named function parameter class
2019-07-15 06:25:02 +02:00
Laurent Rineau
90782d4b7f
Revert the merge of two pull-requests that target CGAL-4.14-branch
...
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Maxime Gimeno
d76c163807
Fix the Final Fixes
2019-02-11 09:39:26 +01:00
Sébastien Loriot
d5abc63e80
give a default value
2019-02-08 10:34:22 +01:00
Sébastien Loriot
56de16c9c0
workaround (a compiler bug?)
2018-12-07 10:44:25 +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
Sébastien Loriot
72acbee3f5
fix warnings
2018-10-24 11:12:55 +02:00
Sébastien Loriot
82ef11845f
fix constness issues
2018-07-18 14:31:14 +02:00
Sébastien Loriot
a31753df4a
handle const graph for face dynamic tag
2018-07-18 09:12:05 +02:00
Sébastien Loriot
73e3e86980
make the test compiles.
...
@afabri This shows what I meant in https://github.com/CGAL/cgal/issues/3138
Here the fix is only minimal, but it should be done consistently for all
simplex type of Surface_mesh, and also probably for OpenMesh types
2018-07-06 09:13:02 +02:00
Maxime Gimeno
132cf694a0
remove is_valid() from the graph_traits
2018-05-03 12:03:14 +02:00
Laurent Rineau
c504ea3e9f
Fixes
...
- cleanup
- be careful not to add things to the documentation
2018-03-22 17:23:28 +01:00
Andreas Fabri
8c41669fb7
move properties from Mesh_3 to BGL, Polyhedron_3 and Surface_mesh
2018-03-22 16:37:37 +01:00
Laurent Rineau
9d227d0fba
Merge pull request #2758 from maxGimeno/BGL-Document_graph_has_property-GF
...
BGL: Document graph_has_property
2018-02-19 14:26:33 +01:00
Simon Giraudot
6269309d86
Use CGAL include for boost counting/transform iterators everywhere
2018-01-23 11:09:52 +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
Sébastien Loriot
456222aa81
add comment
2017-12-19 14:51:12 +01:00
Sébastien Loriot
a9a85b37e6
fix compilation issues and warnings
2017-12-19 14:43:30 +01: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
91539a1ae1
Merge branch 'master' into BGL-fix_doc-GF
2017-12-01 12:04:15 +01:00
Andreas Fabri
2806377564
Fix Issue #2629
2017-11-30 18:17:26 +00:00
Andreas Fabri
1f8849dfea
Make dynamic property API similar to the non dynamic case
2017-11-29 08:28:16 +00:00
Jane Tournois
2feb79a16b
Add example for dynamic_property_map
2017-11-27 16:35:30 +00:00
Sébastien Loriot
ff26773f7b
remove include directive for checking GPL compliance in LGPL headers
2017-11-12 10:21:35 +01:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Laurent Rineau
f8760d591b
Merge pull request #2136 from afabri/Polygon_mesh_processing-accelerate_isotropic_remeshing-GF
...
Polygon_mesh_processing: Accelerate Isotropic_remeshing
2017-07-21 10:45:32 +02:00
Laurent Rineau
89acad2d14
Merge pull request #2101 from afabri/BGL-read_write_off-GF
...
BGL: Add generic functions read_off() and write_off()
2017-07-17 12:45:07 +02:00
Andreas Fabri
70b13af39c
Do not pollute the boost namespace
2017-07-12 12:11:34 +02:00
Andreas Fabri
886bd840cf
Make the dynamic property map an implementation detail
2017-07-11 20:32:23 +02:00
Andreas Fabri
c35a018135
Move add and remove of property maps in namespace internal (realizing that it is wrong to claim that it works for any FaceGraph
2017-07-11 20:31:34 +02:00
Andreas Fabri
be45f81fc8
Add support for halfedges
2017-07-11 20:31:27 +02:00
Andreas Fabri
5e5a3d9e97
Add generic property map for Polyhedron_3
2017-07-11 20:31:27 +02:00
Andreas Fabri
4ff981de70
Add generic vertex/edge/face propertymap for Surface_mesh and OpenMesh
2017-07-11 20:31:27 +02:00
Maxime Gimeno
99b87e9839
Fix warning
2017-07-10 16:03:12 +02:00
Andreas Fabri
94d05c2af7
Make polyhedron_stitching_plugin work for Surface_mesh
2017-07-10 16:03:05 +02:00