Andreas Fabri
06e5884b9c
Add documentation
2022-05-24 15:00:02 +01:00
Sebastien Loriot
269a391fa0
Merge pull request #6558 from lrineau/Installation-remove_wd4503-GF
...
CMake script updates: version of CMake and /wd4503 is only for MSVC 2015
2022-05-13 15:53:36 +02:00
Sebastien Loriot
b9fabbe116
Merge pull request #6550 from afabri/BGL-adjacency_iterator-GF
...
BGL: Add adjacency_iterator for several classes
2022-05-13 15:51:44 +02:00
Laurent Rineau
734c96e951
Merge branch 'master' into pr/lrineau/6558
2022-05-06 16:25:32 +02:00
Laurent Rineau
6da27847c5
Merge pull request #6495 from afabri/Surface_mesh-move-GF
...
Surface_mesh: Add move semantics
2022-05-06 14:22:06 +02:00
Laurent Rineau
2288225448
Massive update of CMake policies to version 3.23
2022-05-06 09:34: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
Laurent Rineau
3072b93942
After review
2022-04-23 16:11:18 +02:00
Laurent Rineau
df43db067a
Use std::move instead of std::forward
2022-04-20 17:09:35 +02:00
Laurent Rineau
090c61c6b7
Swap capacity_ as well
2022-04-20 17:08:05 +02:00
Laurent Rineau
644b88924d
Rewrite the tetst
2022-04-20 17:03:58 +02:00
Laurent Rineau
9e964b0797
Simplify constructors with default member initializers
2022-04-20 17:03:31 +02:00
Mael Rouxel-Labbé
477353d5eb
Merge parameters::Is_default and parameters::is_default_parameter
2022-04-20 16:01:02 +02:00
Andreas Fabri
5098cad841
Test the move semantics
2022-04-19 16:52:18 +01:00
Sébastien Loriot
514e4de9b7
add no-move copy
2022-04-19 07:18:31 +02:00
Sébastien Loriot
92f7344f3c
fix syntax errors
2022-04-18 20:55:56 +02:00
Andreas Fabri
13f00211d3
Surface_mesh: Add move semantics
2022-04-18 16:34:14 +01:00
Laurent Rineau
f9c05a0ba1
Merge pull request #6253 from afabri/P2T2-assert-GF
...
CGAL: In testcode do not use CGAL_assertion but assert
2022-02-02 16:38:22 +01:00
Laurent Rineau
5b42a501cc
Merge pull request #6266 from afabri/CGAL-assertions_in_examples-GF
...
CGAL Examples: CGAL_assertion -> assert
# Conflicts:
# HalfedgeDS/examples/HalfedgeDS/hds_prog_compact2.cpp
# Triangulation_2/examples/Triangulation_2/triangulation_print_OFF.h
2022-02-02 16:38:01 +01:00
Andreas Fabri
79a38d5cb9
CGAL Examples: CGAL_assertion -> assert
2022-01-24 10:19:04 +00:00
Andreas Fabri
a6f622b7a1
Deal with Surface_mesh
2022-01-18 18:39:49 +00:00
Sébastien Loriot
07e917ca09
Merge remote-tracking branch 'MaelRL/PMP-Improve_SI_repair-GF' into HEAD
2022-01-18 09:18:20 +01:00
Sébastien Loriot
10b0af3092
rename macro since Named_function_parameter is part of STL_Extension
2022-01-13 14:43:34 +01:00
Sébastien Loriot
4fa826b3ed
keep only the static version of is_default_parameter
2022-01-10 18:36:37 +01:00
Sébastien Loriot
75b03e6c0a
use_default_values() -> default_values()
2022-01-10 18:36:37 +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
Sébastien Loriot
54d09a788b
fix value
2022-01-07 14:10:23 +01:00
Sébastien Loriot
c78dfa3d61
restore too agressive removal
2022-01-07 10:18:12 +01:00
Sébastien Loriot
e7dcb31417
replaces overloads with default parameters (Surface_mesh/IO)
2022-01-06 15:11:32 +01:00
Sébastien Loriot
a6d9b99466
move macros in BaseDoxyfile
2022-01-04 11:10:09 +01:00
Mael Rouxel-Labbé
515b97d905
Also check the validity of the index in Surface_mesh::is_valid(Element)
2021-12-14 10:42:49 +01:00
Laurent Rineau
4d38f2b7b3
Merge pull request #6114 from sloriot/CGAL-cmake_clean_up
...
Clean cmake scripts of examples and tests
2021-11-18 12:27:19 +01: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
Sébastien Loriot
ab48f63e30
update latest cmake version tested
2021-11-09 10:58:47 +01:00
Sébastien Loriot
262a04cef2
remove useless POLICY setting
2021-11-09 10:19:14 +01:00
Sébastien Loriot
07421357a7
fix phrasing
2021-11-02 11:52:53 +01:00
Sébastien Loriot
08b1457649
add CGAL::CGAL_Basic_viewer target
2021-11-01 11:07:55 +01: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
Mael Rouxel-Labbé
df560987a6
Whitespace & cleaning changes
2021-10-08 12:13:43 +02:00
Laurent Rineau
f581ff74d3
Merge pull request #5427 from sloriot/CGAL_data-moving_files
...
Regroup data: moving files
# Conflicts:
# Nef_3/archive/triangulation/include/CGAL/partition_is_valid_2.h
2021-10-07 14:44:01 +02:00
Laurent Rineau
fb9333f0d0
Merge pull request #6028 from MaelRL/CGAL-Fix_typos-GF
...
Fix typos
2021-10-07 14:27:21 +02:00
Laurent Rineau
94ee9b1613
Merge pull request #6030 from MaelRL/CGAL-Minor_fixes-GF
...
Fix uninitialized id maps in heat method
2021-10-07 14:27:16 +02:00
Sébastien Loriot
1857a25d28
Merge remote-tracking branch 'cgal/master' into CGAL_data-moving_files
2021-10-06 13:50:31 +02:00
Sébastien Loriot
efbd86df7f
extra manual fixes
2021-10-05 17:42:21 +02:00
Mael Rouxel-Labbé
863ab7541c
Various whitespace fixes
2021-10-05 12:14:03 +02:00
Mael Rouxel-Labbé
625848e629
Fix missing ':' in various namespaces
2021-10-04 13:21:47 +02:00
Sébastien Loriot
b5e7d03634
fix runtime issues
2021-10-04 10:22:13 +02:00