Andreas Fabri
740d34234f
delete trailing whitespace
2022-02-18 15:42:31 +01:00
Andreas Fabri
abe216b73d
PSP: ofstream -> sstream
2022-02-18 15:42:29 +01:00
Sébastien Loriot
11c7c56718
Merge remote-tracking branch 'cgal/master' into HEAD
2022-01-18 09:11:52 +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
3d1f7e530e
forgot to remove another default
2022-01-10 13:34:08 +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
c8b0c157cc
plane_index_map is not optional!
...
update doc + cleaner static assert
2022-01-07 14:03:41 +01:00
Sébastien Loriot
8d4e63bbe9
more simplification and use existing classes
2022-01-07 13:48:04 +01:00
Sébastien Loriot
f7c8e4919a
add static function to check for the presence of a normal map
2022-01-07 13:10:29 +01:00
Sébastien Loriot
b6ac238355
missing ;
2022-01-07 10:12:29 +01:00
Sébastien Loriot
162225d9bb
fix warnings
2022-01-07 09:25:31 +01:00
Sébastien Loriot
9112001f33
fix doc
2022-01-06 19:11:54 +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
5f1803489b
replaces overloads with default NamedParameters for Point_set_processing_3
...
+enhancement of the NP for Point_set_processing_3
2022-01-06 15:11:23 +01:00
Andreas Fabri
c924cfdc00
merge master
2022-01-04 13:53:50 +00:00
Andreas Fabri
fe3ca0e092
Remove callback (also from the named parameters)
2022-01-04 13:48:59 +00:00
Sébastien Loriot
a6d9b99466
move macros in BaseDoxyfile
2022-01-04 11:10:09 +01:00
Sébastien Loriot
047ddad86c
remove optional parameter
2022-01-04 10:12:37 +01:00
Andreas Fabri
65f97a599b
representant -> representative and change < to <=
2021-12-28 10:21:05 +00:00
Laurent Rineau
5897f379ba
Merge pull request #6133 from MaelRL/CGAL_IO-PWN_without_normals-GF
...
Minor improvements for OFF/XYZ point set IO
2021-12-20 18:06:41 +01:00
Mael Rouxel-Labbé
dc06959eeb
Test improvements
2021-12-16 14:51:01 +01:00
Mael Rouxel-Labbé
ee1622e14a
Don't write "NOFF" if there are no normals
2021-12-16 14:44:13 +01:00
Laurent Rineau
17a7d8cfbc
Merge pull request #6130 from cjamin/patch-1
...
Bug fix: `remove_outliers` was removing ALL points when no outliers were found
2021-11-25 17:28:39 +01:00
Laurent Rineau
c199795670
Merge pull request #6104 from sloriot/Property_map-fix_id_map_mutable
...
restore mutable property of the pmap
2021-11-18 12:27:23 +01:00
Mael Rouxel-Labbé
27f55f1dcf
Fix previous syntax error fix
2021-11-17 09:46:29 +01:00
Mael Rouxel-Labbé
862f3ee4f9
Misc minor enhancements
2021-11-17 09:46:17 +01:00
Mael Rouxel-Labbé
25f5b91de5
Return a reading error for NOFF without normals
2021-11-17 09:41:52 +01:00
Clément Jamin
7f72142818
Remove trailing whitespaces
2021-11-16 17:15:46 +01:00
Clément Jamin
c5d341b960
If no outliers are found, just return the original range
2021-11-16 16:06:30 +01:00
Clément Jamin
ffe7a6909a
Improve `std::partition` predicate
2021-11-16 15:48:48 +01:00
Clément Jamin
597970b368
Bug fix: `remove_outliers` was removing ALL points when no outliers were found
...
Bug in current code: when no outliers are found, `f2r` is `sorted_points.end()`. So, `if (sit == f2r)` is never true, and `out` keeps its initial value, which is `points.begin()`.
2021-11-16 12:06:32 +01:00
Sébastien Loriot
4eb1464aed
fix Identity_map mutability and fix CGAL code using it
2021-11-09 11:37:24 +01:00
Sébastien Loriot
ab48f63e30
update latest cmake version tested
2021-11-09 10:58:47 +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
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
b5e7d03634
fix runtime issues
2021-10-04 10:22:13 +02:00
Sébastien Loriot
8350dea94a
char* -> std::string
2021-10-04 09:49:24 +02:00
Sébastien Loriot
47028cd184
automatically move data files in data dir + update paths
...
Done for OFF/OBJ/STL/XYZ/PWN/PLY
2021-10-04 09:42:49 +02:00
Sébastien Loriot
d8cdba669b
rename input
2021-10-04 09:32:03 +02:00
Laurent Rineau
a36fbb85d8
Merge pull request #6018 from afabri/PSP-check_open_close-GF
...
Unset fail bit and add assertions about the state of a stream
2021-09-30 16:49:37 +02:00
Andreas Fabri
b3a7a7dc69
untabify
2021-09-29 13:44:42 +01:00
Andreas Fabri
551ff77fb7
Do not open() and close() just one stream
2021-09-29 13:31:45 +01:00
Laurent Rineau
7fc986f581
Merge pull request #5992 from afabri/CGAL-safe_functions-GF
...
Deal with memset, memcpy, fscanf... and their safe equivalents
2021-09-29 11:46:44 +02:00
Laurent Rineau
ad79d37410
Merge pull request #6014 from MaelRL/CGAL-IO_Clarify_binary_text-GF
...
CGAL IO: Clarify binary warning
2021-09-29 11:46:30 +02:00
Andreas Fabri
716dcaf6c9
Apply suggestions from code review
...
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2021-09-28 13:57:40 +02:00
Andreas Fabri
4d1f12d1e2
Unset fail bit and add assertions about the state of a stream
2021-09-28 10:41:50 +01:00
Mael Rouxel-Labbé
5578bf43ff
Misc cleaning
2021-09-27 15:35:40 +02:00
Mael Rouxel-Labbé
c8cc0747fa
Clarify binary warning
2021-09-27 15:33:42 +02:00
Sébastien Loriot
dc8f15271a
expand *
2021-09-23 18:56:14 +02:00
Sébastien Loriot
a038794489
missing semicolon
2021-09-23 18:55:57 +02:00
Sébastien Loriot
bd345c7f83
remove .cmd files for examples
2021-09-23 18:54:46 +02:00
Andreas Fabri
3b7754f796
CGAL_TRACE() -> CGAL_TRACE_STREAM
2021-09-23 17:00:10 +02:00
Laurent Rineau
e5ab9202f5
Merge pull request #4229 from gdamiand/CGAL_data-gdamiand
...
Regroup data: scripts and function updates
2021-09-23 16:14:11 +02:00
Sebastien Loriot
575939c64f
Merge pull request #5952 from sloriot/SS-remove_Polygon_dep
...
remove artificial dependency to Polygon
2021-09-10 17:40:20 +02:00
Mael Rouxel-Labbé
80c81a2c17
Fix typo
2021-09-08 15:54:32 +02:00
Sébastien Loriot
f5d2fb28a2
remove artificial dependency to Polygon
2021-09-01 16:41:36 +02:00
Maxime Gimeno
499301c759
More fixes
2021-08-31 16:00:37 +02:00
Sébastien Loriot
98e471849b
moving files from internal to PKG/internal
2021-08-26 11:33:39 +02:00
Sebastien Loriot
8d00945943
Merge pull request #5655 from danston/PSP-libpointmatcher_enhancements-danston
...
[Small Feature] Support for libpointmatcher::GenericDescriptorOutlierFilter
2021-08-12 10:10:13 +02:00
Sébastien Loriot
f153a1ed3e
Merge remote-tracking branch 'cgal/master' into HEAD
2021-07-22 13:15:22 +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
Mael Rouxel-Labbé
78ff9185b3
Harmonize ASCII usage across all packages
2021-06-23 23:34:32 +02:00
Mael Rouxel-Labbé
a34debc92b
Uniformize os/is/s/i stream parameter name in Stream_support/io
...
+ remove extra backticks in NP doc
2021-06-23 23:32:06 +02:00
albert-github
2a54687e77
Correction of hyperlinks
...
The link checker gave a number of redirects and incorrect links.
- the redirects have been solved ass far as possible
- the incorrect links have been checked and corrected where possible, others have been reported through issues;
2021-06-04 13:52:14 +02:00
Laurent Rineau
59a0da4f13
Merge pull request #5692 from maxGimeno/CGAL_cpp11_atomic_and_threads-maxGimeno
...
CGAL:: Use std atomic and threads
# Conflicts:
# Arrangement_on_surface_2/include/CGAL/Arr_counting_traits_2.h
2021-05-19 17:23:53 +02:00
Laurent Rineau
82bec8a1d6
Merge pull request #5692 from maxGimeno/CGAL_cpp11_atomic_and_threads-maxGimeno
...
CGAL:: Use std atomic and threads
# Conflicts:
# Arrangement_on_surface_2/include/CGAL/Arr_counting_traits_2.h
2021-05-19 17:11:37 +02:00
Laurent Rineau
d6b2c8d9dc
Merge pull request #5671 from maxGimeno/CGAL_IO-Add_missing-deprecated_functions-maxGimeno
...
CGAL_IO: Add missing fallbacks
# Conflicts:
# BGL/include/CGAL/boost/graph/IO/INP.h
# Point_set_processing_3/include/CGAL/IO/write_xyz_points.h
2021-05-18 18:13:38 +02:00
Maxime Gimeno
17ac255108
Fix calls t cpp11:atomic stuff
2021-05-18 15:43:59 +02:00
Maxime Gimeno
393ae7dae6
Clean-up boost_version reqs
2021-05-12 15:03:53 +02:00
Simon Giraudot
f4f46a1d97
Fix typo
2021-05-10 14:52:45 +02:00
Simon Giraudot
01baca51c8
User manual
2021-05-10 13:44:20 +02:00
Simon Giraudot
4ced4d36d6
Update example + fix type
2021-05-10 13:40:15 +02:00
Simon Giraudot
5a0113892a
Clean up code
2021-05-10 13:24:08 +02:00
Maxime Gimeno
9acf3d4b19
Add missing fallbacks for IO functions and result_of
2021-05-07 12:50:51 +02:00
Maxime Gimeno
33cefe1be7
remove calls to cpp11::sleep_for()
2021-05-07 11:13:03 +02:00
Maxime Gimeno
e9b7595fff
Deprecate CGAL headers for threads, atomic and result_of, and move their content to config.h as fallback
2021-05-07 11:09:24 +02:00
Simon Giraudot
ae885f539c
Documentation and plugin
2021-05-06 15:43:28 +02:00
Simon Giraudot
26d9014334
Implement grid simplify with outlier filtering (with no impact on original version)
2021-05-06 15:06:40 +02:00
Sébastien Loriot
4e519a3c7a
move documented IO functions in IO namespace
2021-05-05 13:15:37 +02:00
Sébastien Loriot
fbbf3863af
remove extra IO
2021-05-04 18:25:16 +02:00
Sébastien Loriot
2060e0e352
move LAS_property in IO
2021-05-04 15:58:29 +02:00
Sébastien Loriot
12f0e412b5
write_vtu -> write_VTU
2021-05-04 15:12:36 +02:00
Sébastien Loriot
56025fb5f9
fix release number of depreciation
2021-05-04 14:38:47 +02:00
Sébastien Loriot
fb6f703b55
IO namespace for files in IO directories
2021-05-04 14:36:06 +02:00
Dmitry Anisimov
3efa4316d1
added extra info to the scalar map NP and a comment in the example
2021-05-04 10:37:58 +02:00
Sébastien Loriot
8005f91c22
add IO namespace for Point_set_3 and Point_set_processing_3 packages
2021-05-03 19:21:57 +02:00
Guillaume Damiand
3aa8506a43
Merge branch 'master' into CGAL_data-gdamiand
2021-04-30 17:45:20 +02:00
Dmitry Anisimov
0cdd91e98a
explained default value in the named parameters
2021-04-30 16:32:48 +02:00
Dmitry Anisimov
330a161e55
fixed uninitialized field warnings
2021-04-30 09:42:55 +02:00
Dmitry Anisimov
cb0e72049b
using constant property map instead of new get scalar value class
2021-04-29 18:07:01 +02:00
Dmitry Anisimov
c8307dc0d6
added support for GenericDescriptorOutlierFilter to the CGAL libpointmatcher interface
2021-04-29 15:23:38 +02:00
Laurent Rineau
e935a3d99b
Merge pull request #5629 from sgiraudot/PSP-Fix_clustering_warning-GF
...
PSP: Fix conversion warnings in clustering
2021-04-28 15:24:10 +02:00
Laurent Rineau
e562de0160
Merge pull request #5629 from sgiraudot/PSP-Fix_clustering_warning-GF
...
PSP: Fix conversion warnings in clustering
2021-04-28 15:22:43 +02:00
Laurent Rineau
5e20081197
Merge pull request #5629 from sgiraudot/PSP-Fix_clustering_warning-GF
...
PSP: Fix conversion warnings in clustering
2021-04-28 15:22:11 +02:00
Simon Giraudot
f7f781c2d2
Fix warning by explicitly casting to/from property map value type
2021-04-19 12:44:59 +02:00
Sébastien Loriot
39367c2313
Merge remote-tracking branch 'cgal/5.2.x-branch'
2021-04-17 11:14:29 +02:00