Laurent Rineau
5c943e558c
Merge pull request #6935 from lrineau/CGAL-fix_autotest_with_ctest-GF
...
Fix autotest_cgal_with_ctest
2022-11-25 10:15:07 +01:00
Laurent Rineau
6cff086454
Merge pull request #7067 from sloriot/PMP-clean_up_pmp_bo_params
...
Remove no longer needed function
2022-11-25 10:14:59 +01:00
Laurent Rineau
b363b7e4af
Merge pull request #6935 from lrineau/CGAL-fix_autotest_with_ctest-GF
...
Fix autotest_cgal_with_ctest
2022-11-25 10:14:18 +01:00
Sébastien Loriot
c5207cb5ad
Merge remote-tracking branch 'cgal/master' into HEAD
2022-11-24 09:54:56 +01:00
Mael Rouxel-Labbé
b5c21e1f5d
Http -> https + update some dead links
2022-11-23 18:54:37 +01:00
Sébastien Loriot
fd00ce2d02
seems that the no_parameter function is no longer needed
2022-11-21 16:02:04 +01:00
Sébastien Loriot
7322c7908d
try to workaround warnings
2022-11-21 14:09:08 +01:00
Sébastien Loriot
4d797b55c4
try working around a warning
2022-11-17 19:03:30 +01:00
albert-github
eed54a0ae5
spelling corrections
...
Some spelling corrections (Directories starting with `O`-`S` , first part),
some backward work
some forward work
2022-11-15 18:45:39 +01:00
albert-github
3674c937f7
spelling corrections
...
Some spelling corrections (Directories starting with `M`-` N`),
some backward work
some forward work
2022-11-15 15:21:01 +01:00
albert-github
2bcc9ad8c5
Link corrections
...
- Correcting some permanent redirects
- corrected link for to `max_element`, link was incorrect
2022-11-13 13:19:22 +01:00
Jane Tournois
4ebbe922bd
Merge remote-tracking branch 'cgal/master' into Mesh_3-triple_line_extraction-GF
...
# Conflicts:
# BGL/include/CGAL/boost/parameter.h
# Installation/CHANGES.md
# Mesh_3/doc/Mesh_3/CGAL/Labeled_mesh_domain_3.h
# Mesh_3/include/CGAL/Labeled_mesh_domain_3.h
+ fix compilation
+ prepare for using detect_features
2022-11-08 16:17:33 +01:00
Laurent Rineau
8c9281f440
Merge pull request #6642 from sloriot/gsoc2022-boost_np
...
Replace usage of Boost parameters with CGAL named function parameters
2022-11-07 10:08:38 +01:00
Laurent Rineau
8e8153c0ac
Merge pull request #6871 from afabri/CGAL_assertions-GF
...
CGAL: No longer per package assertions
2022-11-03 09:44:48 +01:00
Laurent Rineau
2e971f75cc
Merge pull request #6955 from afabri/STL_extension-doc_improvements-GF
...
STL_extension: Doc Improvements
2022-11-03 09:44:43 +01:00
Sébastien Loriot
a9162809c4
fields should be taken by const ref
2022-10-31 10:18:39 +01:00
Laurent Rineau
d24b180293
Merge branch 'master' into gsoc2022-boost_np
2022-10-28 15:39:36 +02:00
Sébastien Loriot
0cac6a9da8
Merge remote-tracking branch 'sloriot/PMP-decimation' into PMP-decimation
2022-10-25 14:55:57 +02:00
Sébastien Loriot
7c4123152b
Prevent_deref shall not return a reference to the iterator as it can be copied
...
iterator being taken by copy usually, if a function takes a
an iterator by copy and that function returns the reference
type of the deref operator then a reference to a temporary
will be returned.
2022-10-24 17:58:52 +02:00
Sébastien Loriot
9179a2d41b
fix conversion warning
2022-10-24 09:17:40 +02:00
Sébastien Loriot
2285a79148
fix warning
2022-10-21 09:31:03 +02:00
Sébastien Loriot
4ca779d991
fix warning
2022-10-20 11:22:40 +02:00
Sébastien Loriot
645e33aa56
fix warnings
2022-10-19 17:00:03 +02:00
Sébastien Loriot
40c1fdc03d
use MSVC overload for everybody
...
clang master also have issue with the generic variadic versions
2022-10-18 06:05:13 +02:00
Andreas Fabri
c04dceb71d
Merge master
2022-10-14 14:40:58 +01:00
Andreas Fabri
469a0362b5
Take Laurent's review into account
2022-10-14 11:34:34 +01:00
Laurent Rineau
b232f4bcfd
Merge pull request #6942 from sloriot/CGAL-header_clean_up
...
Clean up in headers
2022-10-13 15:17:39 +02:00
Mael Rouxel-Labbé
2c23a6d5c5
Revert back to wrapping result_type to distinguish FT-necessary operator()s
2022-10-12 21:24:59 +02:00
Sébastien Loriot
56eb3c59e1
apply suggestions from review
2022-10-11 14:50:50 +02:00
Laurent Rineau
4f758f846d
Remove two more mentions of CGAL::copy_n
2022-10-11 11:36:42 +02:00
Laurent Rineau
16ed309a29
Fix the list of documented algorithms
2022-10-11 11:30:44 +02:00
Andreas Fabri
db44e2853c
Polish in CGAL/algorithm.h
2022-10-11 09:31:57 +01:00
Laurent Rineau
b51fb86202
Merge pull request #6910 from albert-github/feature/bug_STL_Extension_increasingly
...
STL_Extension: wrong formulation of precondition
2022-10-07 15:46:49 +02:00
Laurent Rineau
df3d74ead3
Merge pull request #6922 from albert-github/feature/bug_STL_Extension_example
...
STL_Extension: example not shown properly
2022-10-07 15:46:37 +02:00
Andreas Fabri
def163afc2
Update STL_Extension/include/CGAL/assertions.h
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2022-10-07 14:25:18 +02:00
Andreas Fabri
fa3f8a5872
Do the test if we want to assert at runtime only when CGAL_ENABLE_DISABLE_ASSERTIONS_AT_RUNTIME is defined
2022-10-07 11:21:02 +01:00
Sébastien Loriot
f3d0d76f6b
add or move include guards
2022-10-06 15:35:41 +02:00
Sébastien Loriot
c0ff903d21
fix default values
2022-10-05 21:41:20 +02:00
Sebastien Loriot
a61e6bc346
Apply review from Jane
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2022-10-04 18:56:34 +02:00
Andreas Fabri
9b357c6aff
Reintroduce the runtime switch to enable/disable assrtions
2022-10-04 10:35:05 +01:00
Sébastien Loriot
042d5b5a9a
add migration notes
2022-10-03 18:35:24 +02:00
Sebastien Loriot
69516da282
no need for return doc
2022-10-03 09:45:22 +02:00
albert-github
ad343087fd
STL_Extension: example not shown properly
...
On the page `STL_Extension/classCGAL_1_1Dispatch__or__drop__output__iterator.html` it is obvious that the `\` is missing.
To get the reference right (due to the `\ref` in the `cgalExample`) the file must also be added to the list of examples
2022-10-02 11:48:06 +02:00
Sébastien Loriot
fc4c86a491
try to work around MSVC 2015 bugs...
2022-09-30 15:54:30 +02:00
albert-github
39c752dfd1
Update STL_Extension/include/CGAL/In_place_list.h
...
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2022-09-29 10:32:10 +02:00
albert-github
fea5528a5c
STL_Extension: worng formulation of precondition
...
In STL_Extension/classCGAL_1_1In__place__list.html we see the line:
```
Both lists are increasingly sorted. A suitable operator< for the type T
```
the word `increasingly` means `more and more`, though most likely `in increasing order` is meant here
2022-09-28 18:59:31 +02:00
Andreas Fabri
f411e0902c
STL_extension: doc improvements
...
Add `()` to functions. Backtick.
2022-09-27 10:57:18 +02:00
Andreas Fabri
130ab04b09
Generator: Fix links
2022-09-27 09:48:58 +01:00
Sébastien Loriot
54a6462273
move code so that we can reinject mesh_3 parameters functions into NFP class
2022-09-26 20:09:58 +02:00
Andreas Fabri
d3fca65ae5
CGAL: No longer per package assertions
2022-09-23 12:49:40 +01:00
Mael Rouxel-Labbé
214e072959
Switch from RT_sufficient to FT_necessary
2022-09-22 12:02:53 +02:00
Sébastien Loriot
6b07cbdadd
clean up Mesh_3 internal parameters
2022-09-21 15:45:14 +02:00
Sébastien Loriot
c879db0bcd
add a way to disambiguate template overloads for named parameters
2022-09-19 06:29:15 +02:00
Sébastien Loriot
0e62685f39
force images to be taken by reference
2022-09-16 14:36:06 +02:00
Mael Rouxel-Labbé
6f187f332c
Misc minor fixes/improvements
2022-09-14 14:08:23 +02:00
Laurent Rineau
4b660d9ec9
Another proposal for Filtered_predicate_RT_FT
...
Instead of having the return type wrapped in a `Needs_FT` tag,
not the call operator overloads that can be called with `RT` are
"tagged" by adding a last argument of type `RT_sufficient` with a
default value.
2022-09-07 11:10:13 +02:00
Mael Rouxel-Labbé
9b265fddf8
Uniformize REQUIRED / QUIET usage:
...
Following this:
- CGAL: always REQUIRED
- CGAL component: COMPONENT / OPTIONAL_COMPONENT (never QUIET)
- required 3rd party: (not QUIET) + message(NOTICE "") on NOT_FOUND
- optional 3rd party: QUIET + message(STATUS "") except for Polyhedron/demo
- 3rd party components: COMPONENT / OPTIONAL_COMPONENT
(QUIET depending on required or optional 3rd party)
2022-09-06 16:24:27 +02:00
Mael Rouxel-Labbé
4fc486b195
Purge CMakeLists.txts from obsolete code / noise
2022-09-06 16:19:11 +02:00
Mael Rouxel-Labbé
7cb21c24b0
Uniformize message() for missing 3rd party libraries
...
STATUS for non-essential, NOTICE for important stuff
2022-09-06 16:07:31 +02:00
Mael Rouxel-Labbé
28ba446895
Clean (some) CMakeLists.txt indentation
2022-09-06 15:38:18 +02:00
Laurent Rineau
b114789abf
Fix spelling
2022-09-06 13:56:31 +02:00
Sven Oesau
80eb8601e6
Merge branch 'CGAL:master' into Region_growing-revision-soesau
2022-09-02 16:42:41 +02:00
Laurent Rineau
2923eff641
Fix a warning `-Wnull-pointer-subtraction`
...
https://clang.llvm.org/docs/DiagnosticsReference.html#wnull-pointer-subtraction
2022-09-02 11:33:07 +02:00
Laurent Rineau
7c92341be7
Introduce CGAL_Kernel_pred_RT_or_FT
...
This commit introduces a new kind of predicate in
`<CGAL/Kernel/interface_macros.h>`. In addition to
- `CGAL_kernel_pred` for predicates,
- `CGAL_Kernel_pred_RT` for predicates that can be implemented using a
ring-type,
now there is also:
- `CGAL_Kernel_pred_RT_or_FT` for predicates with multiple overloads of
`operator()`, some needing a field type and other needing a ring type
(without the division operator).
The C++ code can discriminate between the two cases with a special wrapper
for the return type: `CGAL::Needs_FT<result_type` instead of `result_type`
(defined in `<CGAL/tags.h>`.
In `<CGAL/Filtered_predicate.h>`, in addition to the usual class template
`Filtered_predicate`, there is now also `Filtered_predicate_RT_FT` that
takes three predicates as template parameters instead of two:
- the exact predicate with an ring-type,
- the exact predicate with a field-type,
- the approximate predicate (with `Interval_nt` as number-type).
For the moment, only `Compare_distance_3` in
`<CGAL/Cartesian/function_objects.h>` is using the new
`Filtered_predicate_RT_FT`.
Before this commit, the file
`Kernel_23/test/Kernel_23/include/CGAL/_test_new_3.h` was testing
`Compare_distance_3` only with three points or for points. This commit adds:
- a test with `Point_3, Point_3, Segment_3`, and
- a test with `Line_3, Point_3, Point_3`, that actually needs a field type
with its current implementation.
In the test `Kernel_23/test/Kernel_23/Filtered_cartesian.cpp`, the macro
`CGAL_NO_MPZF_DIVISION_OPERATOR` is defined, to remove the division operator
from `CGAL::Mpzf`. `CGAL::Mpzf` is a ring-type, even with its `operator/`
(because that `operator/` can only compute exact divisions), but with
`CGAL_NO_MPZF_DIVISION_OPERATOR` defined, that is now checked by the compiler.
2022-09-02 11:31:47 +02:00
Laurent Rineau
59566d3fd8
Merge pull request #6800 from sloriot/SMS-test_relax_order
...
SMS test relaxed order
2022-08-29 11:35:49 +02:00
GYuvanShankar
530d6e0f78
Fixed tests not running in Mesh_3
2022-08-23 14:58:15 +05:30
Sébastien Loriot
d085d7b368
use macros for compatibility
...
internal code to be updated
2022-08-19 00:55:54 +02:00
Laurent Rineau
d49ee20965
Merge pull request #6665 from sloriot/CGAL-std_type_traits
2022-08-17 13:56:54 +02:00
Sébastien Loriot
ad6329c263
Merge 'cgal/master' into gsoc2022-boost_np
2022-08-16 17:52:18 +02:00
Sébastien Loriot
4143d143e0
fix assertion
2022-08-16 17:23:07 +02:00
Sébastien Loriot
a1525c6367
remove duplicated parameter
2022-08-05 17:03:54 +02:00
Sébastien Loriot
313c38b050
restore np removed
2022-08-05 15:29:05 +02:00
Sébastien Loriot
861588abe1
Merge 'sloriot/CGAL-std_type_traits' into master
2022-08-03 20:19:51 +02:00
Sébastien Loriot
e564f4eaa5
Merge remote-tracking branch 'cgal/master'
2022-08-02 12:05:51 +02:00
GYuvanShankar
1ee7340343
Removed np for mandatory param for certain fns
2022-07-27 20:16:47 +05:30
Sébastien Loriot
7d656a0a25
Merge remote-tracking branch 'sloriot/gsoc2022-boost_np' into HEAD
2022-07-27 09:24:08 +02:00
Sébastien Loriot
347a0220b3
restrict the parameter pack to Named_function_parameters
2022-07-26 18:02:33 +02:00
Sébastien Loriot
b1ee7ba78e
move outside experimental namespace with a better API and doc
2022-07-26 15:06:49 +02:00
Laurent Rineau
0f7749432c
Merge pull request #6412 from afabri/Triangulation_2-mark_domains-GF
...
Triangulation_2: Add CGAL::mark_domain_in_triangulation
2022-07-24 18:08:41 +02:00
GYuvanShankar
520545d543
Named parameter for mandatory parameters DRAFT
2022-07-19 13:10:35 +05:30
Sébastien Loriot
b89bb215d3
WIP: removing InputRange from type definition
2022-07-18 18:04:45 +02:00
Sébastien Loriot
916e48284d
add an extra overload of choose_parameter for dynamic property maps
2022-07-13 12:48:27 +02:00
Sébastien Loriot
1e857506c1
Merge remote-tracking branch 'cgal/5.5.x-branch'
2022-07-12 18:22:02 +02:00
Sébastien Loriot
12795ba29c
Merge remote-tracking branch 'cgal/5.4.x-branch' into HEAD
2022-07-12 18:21:16 +02:00
Sébastien Loriot
6acb3a19fe
actually the warning only shows up using clang
2022-07-12 18:18:34 +02:00
Sébastien Loriot
493795f95d
also accomodate older versions of clang
2022-07-12 18:18:34 +02:00
Sébastien Loriot
ad1e333538
handle older GCC versions
2022-07-12 18:18:34 +02:00
Sébastien Loriot
ddd0e7dd47
the warning we are trying to work around is new and we need to ignore it on older compiler
2022-07-12 18:18:34 +02:00
Sébastien Loriot
f7232499a1
use the correct warning...
2022-07-12 18:18:34 +02:00
Sébastien Loriot
3d03cbc519
workaround warning with gcc master
2022-07-12 18:18:34 +02:00
Laurent Rineau
4789fcc474
Merge branch 'master' into Triangulation_2-mark_domains-GF
2022-07-11 16:38:15 +02:00
Sébastien Loriot
a821707064
link to cppreference
2022-07-11 11:04:04 +02:00
Sven Oesau
5d5c380c66
Merge branch 'master' into Region_growing-revision-soesau
2022-07-06 15:20:11 +02:00
GYuvanShankar
4457b05350
Removed _new prefix from named parameters
2022-06-29 17:38:54 +05:30
Sébastien Loriot
707b45cb5b
Merge remote-tracking branch 'cgal/5.5.x-branch'
2022-06-29 10:48:00 +02:00
Laurent Rineau
70caea9548
Merge pull request #6673 from afabri/STL_Extension-Skip_list_memory_leak-GF
...
STL_extension: Fix memory leak in Skiplist
2022-06-29 09:50:41 +02:00
Sébastien Loriot
1a4a6816ac
Merge pull request #6084 from janetournois/PMP-add_surface_mesher-jtournois
...
PMP - add surface remeshing from Mesh_3
2022-06-29 09:20:10 +02:00
Laurent Rineau
499b7794c9
Merge pull request #5693 from janetournois/Mesh_data_structure_3-new_package-jtournois
...
SMDS_3: Mesh_data_structure_3 - new package for C3T3
2022-06-29 09:14:38 +02:00
GYuvanShankar
7a080f9b92
New API support and doc for Mesh_criteria_3.h
2022-06-29 12:28:41 +05:30
Andreas Fabri
718fdcfd44
STL_Extension: Fix comment in multiset
2022-06-27 17:47:49 +01:00