Sebastien Loriot
b8e3ab9a48
Merge pull request #6599 from afabri/Polyline_simplification-constref-GF
...
Polyline simplification: Use const& in demo instead of copying a polygon
2022-05-26 18:11:38 +02:00
Andreas Fabri
d476a017fa
Polyline_simplification: Clean up examples
2022-05-24 12:38:28 +01:00
Andreas Fabri
46d43e592b
Use const& in demo instead of copying a polygon
2022-05-20 14:46:24 +01:00
Laurent Rineau
2288225448
Massive update of CMake policies to version 3.23
2022-05-06 09:34:35 +02:00
Sébastien Loriot
c61fdb831b
remove the handle
...
it is not needed as the id map is used to store handles
2021-11-30 13:49:39 +01:00
Sébastien Loriot
ab48f63e30
update latest cmake version tested
2021-11-09 10:58:47 +01:00
Sébastien Loriot
b7e688cc94
remove TWS
2021-10-12 09:05:42 +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é
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
Maxime Gimeno
a3d1765ab4
Merge remote-tracking branch 'cgal/master' into CGAL-Clean_up_boost_versions-maxGimeno
2021-07-19 14:18:40 +02:00
Sébastien Loriot
bdec4360d3
Merge remote-tracking branch 'cgal/5.2.x-branch'
2021-06-25 10:05:19 +02:00
Sébastien Loriot
dfcdb4c05b
Merge remote-tracking branch 'cgal/5.1.x-branch' into HEAD
2021-06-25 10:02:58 +02:00
Andreas Fabri
1948cf304f
Fix (unintendedly) skipping the next point after erasure of a constraint point
...
In 'it = set.erase(it)', it is already the next element, so the ++it
of the loop makes the algorithm skip an element, which might have had
to be removed if it also didn't have a corresponding triangulation vertex.
2021-06-15 14:21:35 +02:00
Maxime Gimeno
e6c767d5c9
Simplify the GNUC versions tests
2021-05-12 15:45:07 +02:00
Maxime Gimeno
393ae7dae6
Clean-up boost_version reqs
2021-05-12 15:03:53 +02:00
Sébastien Loriot
fb6f703b55
IO namespace for files in IO directories
2021-05-04 14:36:06 +02:00
Sebastien Loriot
b7323389c7
Merge pull request #5622 from maxGimeno/CMake-Update_versions_in_scripts-maxGimeno
...
Update maximum cmake versions
2021-04-17 10:58:14 +02:00
Maxime Gimeno
c49152359c
update max version of cmake and announce the new minimal in CHANGE.md
2021-04-15 15:08:54 +02:00
Maxime Gimeno
17602e589e
Merge remote-tracking branch 'cgal/master' into CGAL-clang_tidy__nullptr_on_Mesh_2-GF
2021-04-07 09:17:51 +02:00
Laurent Rineau
cb8e564ac7
Merge pull request #5349 from afabri/Polyline_simplification-simplify_overlaps-GF
...
2D Polyline simplification: Also simplify overlapping vertex sequences
2021-03-03 17:35:27 +01:00
Maxime Gimeno
cc99fd94ad
Demo Pass
2021-02-19 16:02:12 +01:00
Andreas Fabri
53cb7cd664
Simplify the code
2021-02-16 13:41:28 +00:00
Andreas Fabri
27d5293797
bug fix so that it compiles
2021-02-16 13:33:55 +00:00
Andreas Fabri
ed44ebff0f
Improve documentation of overlapping polylines
2021-02-16 10:43:04 +00:00
Maxime Gimeno
2500331070
Merge remote-tracking branch 'cgal/master' into Demo-Add_dependency_to_qt5_moc_and_dependencies-maxGimeno
2021-02-09 12:33:52 +01:00
Maxime Gimeno
9cd0d450f9
Remove QDomElements and need for QtXml
2021-02-09 11:31:34 +01:00
Andreas Fabri
a5f7516f60
Merge remote-tracking branch 'cgal/master' into Polyline_simplification-simplify_overlaps-GF
2021-02-01 13:04:03 +00:00
Andreas Fabri
f339c25635
Use unordered_map
2021-02-01 13:03:58 +00:00
Andreas Fabri
7a91d9f1a5
With a subsequence p-q-p we do not simplify q
2021-02-01 12:36:34 +00:00
Andreas Fabri
105b93b35a
Now it should work with overlapping polylines
2021-01-14 08:51:39 +00:00
Andreas Fabri
44260a88fc
Store vertex handles in the MPQ and have a map from Vertex_handle to Vertices_in_constaint_iterator
2021-01-13 20:56:34 +00:00
Maxime Gimeno
3b70343590
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-11-16 16:19:43 +01:00
Mael Rouxel-Labbé
444531b80e
Fix broken `Kernel` links
2020-10-14 19:22:46 +02:00
Maxime Gimeno
9c15f2c9dc
Use FeatureSummary in the demo, and remove CGAL_FOUND
2020-08-04 12:46:17 +02:00
Sebastien Loriot
98fafe4ef1
Merge pull request #4514 from MaelRL/CGAL-Fix_warnings-GF
...
Fix (some) testuite warnings
2020-04-16 18:15:11 +02:00
Sébastien Loriot
24a1bf5c23
Update branch from master after trailing whitespaces and tabs removal
2020-03-26 19:26:44 +01:00
Sébastien Loriot
fdb17cb3f1
extra run of the script to remove tabs and trailing whitespaces
2020-03-26 19:26:10 +01:00
Sébastien Loriot
38789af55d
Update branch from master after trailing whitespaces and tabs removal
2020-03-26 19:25:47 +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
0a46621dc6
Merge branch 'cgal/releases/CGAL-4.14-branch'
...
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot
590612a563
run the script to remove tabs and trailing whitespaces
2020-03-26 13:25:16 +01:00
Simon Giraudot
f05ec48bda
Add missing BGL dependencies
2020-03-12 10:05:52 +01:00
Maxime Gimeno
e65b1a1be4
fix thresholdSilder warning
2020-02-19 14:45:36 +01:00
Sébastien Loriot
9a0bff4008
remove BOOST_FOREACH added by recent PRs
2019-11-04 10:59:15 +01: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
df99307140
Merge branch 'releases/CGAL-4.14-branch'
2019-09-09 16:48:23 +02:00
Laurent Rineau
9abee11ee8
Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-09-09 16:43:29 +02:00
Maxime Gimeno
d0e94eca49
Add missing instruction to Polyline_simplification demo that prevented ctest from finding the UI.
2019-08-16 13:57:27 +02:00