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
Sébastien Loriot
ff77535dd1
add comments about workaround
2022-01-13 14:47:10 +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
4bbe759f08
Try to please MSVC 2015
2022-01-13 14:25:32 +01:00
Sébastien Loriot
497dbcd44a
try to please MSVC 2015
2022-01-13 14:22:29 +01:00
Sébastien Loriot
99a5e3c8ea
try to please MSVC2015
2022-01-13 14:01:41 +01:00
Sébastien Loriot
3028bf45bd
try to please MSVC2015
2022-01-13 13:43:12 +01:00
Sébastien Loriot
5c7df72f5d
de-ambiguate for MSVC2015
2022-01-13 11:42:32 +01:00
Sébastien Loriot
0b7f563b18
fixes after merge
2022-01-12 13:37:38 +01:00
Sébastien Loriot
c169c41240
Merge remote-tracking branch 'maxGimeno/PMP-Example_of_new_mp_function-maxGimeno' into HEAD
2022-01-12 13:33:49 +01:00
Laurent Rineau
cdf33d4ff9
Merge pull request #6069 from sloriot/PMP-rnd_np
...
Add random generator np for sampling
2022-01-12 12:21:58 +01:00
Laurent Rineau
12028fed4a
Merge pull request #6081 from MaelRL/PMP-PM_to_PS_array_point-GF
...
Allow polygon soups to use an `std::array` point type in PM_to_PS
2022-01-12 12:21:55 +01:00
Laurent Rineau
413421d3f2
Merge pull request #6195 from sloriot/PMP-snap_split_visitor
...
Add visitor function call for tracking faces split
2022-01-12 12:21:51 +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
382cbfaf25
move test + handle no deprecated code
2022-01-10 10:26:11 +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
6ac74caffb
fix warnings
2022-01-07 09:26:10 +01:00
Sébastien Loriot
821e7b79a2
remove some Point_set_processing specific helper classes
2022-01-06 18:53:46 +01:00
Sébastien Loriot
9714557046
replace overloads with default parameters (PMP)
2022-01-05 14:41:46 +01:00
Sébastien Loriot
92a0ced3c0
replace overloads with default parameters (PMP)
2022-01-04 18:46:42 +01:00
Sébastien Loriot
1e7785b427
do not use PMP::parameters namespace
2022-01-04 16:00:38 +01:00
Sébastien Loriot
ab38865f7c
deprecated function
2022-01-04 11:33:50 +01:00
Sébastien Loriot
28ab8e9293
replace CGAL_PMP_NP macros with CGAL_BGL_NP ones
2022-01-04 11:19:05 +01:00
Sébastien Loriot
7900a96115
start documenting use_default_values()
2022-01-03 16:31:09 +01:00
Sébastien Loriot
f057a72b2b
use random_seed
2022-01-03 10:35:30 +01:00
Sébastien Loriot
24b3c3eed6
add visitor function call for tracking faces split
2021-12-23 11:23:54 +01:00
Laurent Rineau
2acd9ca3db
Merge pull request #6159 from sloriot/PMP-coref_nm_border_vrt_cpy
...
Apply the operations per patches
2021-12-20 18:06:39 +01:00
Sébastien Loriot
39763cda4a
avoid useless computation and default should be false for polylines too
2021-12-16 15:18:11 +01:00
Sébastien Loriot
8ca5971699
handle all patches by operations
...
this workaround issue with boundary non-manifold vertices
that we needs to be imported
2021-12-07 11:30:34 +01:00
Laurent Rineau
3e877fa124
Merge pull request #6109 from afabri/CGAL-VC_max_warning-GF
...
PMP: Fix Warnings in Master
2021-11-18 12:27:21 +01:00
Daniel Thul
bb83be1e73
Mesh distance: use spatially sorted sample points
...
The Hausdorff distance code makes a copy of the provided sample points and sorts them spatially such that the hints provided to the AABB tree will be good. There is an apparent mistake in the code though and instead of the spatially sorted sample points, the original (unsorted) ones are given to the AABB tree. The sorted ones are in fact never used.
This PR changes the code such that the sorted points are used.
2021-11-12 21:58:49 +01:00
Andreas Fabri
451e9e9b26
Fix calls to min and max
2021-11-03 22:09:02 +01:00
Sébastien Loriot
9543deb304
Merge pull request #6046 from MaelRL/PM-Fix_pmaps_reference_types_master-GF
...
Various fixes for property maps (master)
2021-10-29 17:40:15 +02:00
Laurent Rineau
e9cb30955c
Merge pull request #6037 from sloriot/PMP-nm_map_license
...
Add missing license include directive
2021-10-29 17:00:02 +02:00
Laurent Rineau
04cde86a24
Merge pull request #6080 from sloriot/PMP-max_w
...
Workaround compilation error on Windows, about `max`
2021-10-29 16:59:22 +02:00
Laurent Rineau
5d965e0507
Merge pull request #6051 from MaelRL/PMP-Forward_GT_orient_to_bound_volume-GF
...
PMP: Forward the geometric traits in `orient_to_bound_a_volume()`
2021-10-29 16:46:39 +02:00
Laurent Rineau
4a17e26e28
Merge pull request #6068 from sloriot/PMP-sampling_doc
...
Fix NPs and improve doc
2021-10-29 16:46:33 +02:00
Mael Rouxel-Labbé
00cd63f209
Add some includes for completeness
2021-10-25 10:50:47 +02:00
Mael Rouxel-Labbé
0e2225d5c5
Allow polygon soups to use std::array points in PM_to_PS
2021-10-25 10:44:43 +02:00
Sébastien Loriot
f4f484c5e0
workaround warning
2021-10-25 09:47:29 +02:00
Sébastien Loriot
f55e482d0f
add random generator np for sampling
2021-10-20 09:24:13 +02:00
Sébastien Loriot
b793e7cd90
fix NPs and improve doc
2021-10-19 17:38:12 +02:00
Mael Rouxel-Labbé
1ab6b44d7d
Fix NP forwarding in volume_CC
2021-10-15 10:22:08 +02:00
Mael Rouxel-Labbé
1f73af6cc4
Drive-by cleaning
2021-10-14 11:09:04 +02:00
Mael Rouxel-Labbé
91e7f1d20c
Forward the geom traits in orient_to_bound_a_volume
2021-10-14 11:06:04 +02:00
Sébastien Loriot
bdec97bccb
remove backtick
2021-10-12 15:02: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