Laurent Rineau
3668ca16b2
Fix test_read_write_point_set
...
The LAS format, even binary, is not an exact representation.
The coordinates are encoded using and offset and a scaling, for each
coordinate.
In `write_LAS_with_properties()`, Simon has hard-coded:
```
LASheader header;
header.x_scale_factor = 1e-9 * (bbox.xmax() - bbox.xmin());
header.y_scale_factor = 1e-9 * (bbox.ymax() - bbox.ymin());
header.z_scale_factor = 1e-9 * (bbox.zmax() - bbox.zmin());
header.x_offset = bbox.xmin();
header.y_offset = bbox.ymin();
header.z_offset = bbox.zmin();
```
So, the approximate comparison of coordinates, for the I/O test,
should compare using about the same precision.
2022-08-17 17:21:05 +02:00
Laurent Rineau
2288225448
Massive update of CMake policies to version 3.23
2022-05-06 09:34:35 +02:00
Laurent Rineau
9cbf8fa23c
Merge pull request #6329 from afabri/PSP-fix_IO-GF
...
PSP: ofstream -> sstream
# Conflicts:
# Point_set_processing_3/test/Point_set_processing_3/test_deprecated_io_point_set.cpp
2022-02-24 09:52:51 +01:00
Andreas Fabri
435e6d690f
Fix typo (leading to a compilation error)
2022-02-22 08:11:51 +00:00
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
047ddad86c
remove optional parameter
2022-01-04 10:12:37 +01: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
Sébastien Loriot
ab48f63e30
update latest cmake version tested
2021-11-09 10:58:47 +01: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
Andreas Fabri
4d1f12d1e2
Unset fail bit and add assertions about the state of a stream
2021-09-28 10:41:50 +01:00
Sébastien Loriot
dc8f15271a
expand *
2021-09-23 18:56:14 +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
Sébastien Loriot
98e471849b
moving files from internal to PKG/internal
2021-08-26 11:33:39 +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
Maxime Gimeno
393ae7dae6
Clean-up boost_version reqs
2021-05-12 15:03:53 +02:00
Sébastien Loriot
4e519a3c7a
move documented IO functions in IO namespace
2021-05-05 13:15:37 +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
Maxime Gimeno
c49152359c
update max version of cmake and announce the new minimal in CHANGE.md
2021-04-15 15:08:54 +02:00
Guillaume Damiand
1c502540f5
Update one test in Point_set_processing_3 that uses a .cmd allowing to test this case in this pr
2021-03-19 14:37:50 +01:00
Laurent Rineau
f51ee121db
Merge branch '5.2.x-branch'
...
# Conflicts:
# Bounding_volumes/examples/Approximate_min_ellipsoid_d/CMakeLists.txt
# Bounding_volumes/test/Bounding_volumes/CMakeLists.txt
# Jet_fitting_3/examples/Jet_fitting_3/CMakeLists.txt
# Point_set_processing_3/test/Point_set_processing_3/CMakeLists.txt
# Polygon_mesh_processing/benchmark/Polygon_mesh_processing/CMakeLists.txt
# Ridges_3/examples/Ridges_3/CMakeLists.txt
# Shape_detection/examples/Shape_detection/CMakeLists.txt
2021-03-03 18:27:54 +01:00
Laurent Rineau
a72fdb7b3c
Merge pull request #5352 from lrineau/CGAL-fix_CGAL_IO-GF
...
Fixes after the PR "CGAL I/O
2021-02-18 15:23:43 +01:00
Laurent Rineau
4c947f0ee0
Merge pull request #5340 from danston/CGAL-clang_warnings_fix-danston
...
Clang warnings fixed
2021-02-05 16:10:37 +01:00
Maxime Gimeno
4c9cb65427
Fix test psp
2021-02-03 15:40:58 +01:00
Maxime Gimeno
02d5819b5b
Fixes
2021-01-26 09:35:13 +01:00
Maxime Gimeno
54db0c04d1
FInish
2021-01-20 09:51:56 +01:00
Maxime Gimeno
0d2e685244
LAS and PLY with properties
2021-01-19 15:10:57 +01:00
Maxime Gimeno
49f68654d6
WIP
2021-01-18 11:48:04 +01:00
Sébastien Loriot
bc161f2ae9
Merge 'CGAL-Eigen3_support-5.2'
2021-01-15 10:59:20 +01:00
Sébastien Loriot
f4935dc199
Merge branch 'CGAL-Eigen3_support-5.1'
2021-01-15 10:54:02 +01:00
Sébastien Loriot
eecb00534e
fix macro name to be consistent with find_package
2021-01-15 10:43:34 +01:00
Dmitry Anisimov
269a47d773
Merge branch 'master' into CGAL-clang_warnings_fix-danston
2021-01-14 16:51:13 +01:00
Dmitry Anisimov
a96ff6092d
range loop analysis copy to ref warning fixed
2021-01-07 16:59:44 +01:00
Maxime Gimeno
0a12aff2ac
fix version test
2021-01-07 14:31:40 +01:00
Maxime Gimeno
a52a6a5a67
Disable LAS IO tests if MSVC 2017
2021-01-07 14:27:57 +01:00
Maxime Gimeno
ad8fea2301
Fix read_LAS test
2020-12-09 16:07:07 +01:00
Maxime Gimeno
c4867780cc
Fix test read_LAS
2020-12-01 12:15:51 +01:00
Maxime Gimeno
3b70343590
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-11-16 16:19:43 +01:00
Maxime Gimeno
bced6b13f3
Fix LAS I/O
2020-10-27 11:45:17 +01:00
Maxime Gimeno
bebd60c12b
Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno
2020-10-20 09:53:54 +02:00
Mael Rouxel-Labbé
630d9eb2f6
Various fixes in IO tests (BGL/PS/PMP/SS)
2020-10-13 18:15:34 +02:00