Commit Graph

653 Commits

Author SHA1 Message Date
Andreas Fabri 1cecefe1c8 Mesh_2: Fixes of write_VTU 2025-03-07 07:37:28 +00:00
Laurent Rineau 8eefb7f173 Merge branch 'master' into pr/lrineau/8273 2025-02-07 16:10:52 +01:00
Laurent Rineau 765744e8b2 fix WKT I/O error handling 2025-02-06 01:22:02 +01:00
Laurent Rineau 1ce108778f rewrite/refactor a lot of the code 2025-01-22 16:03:26 +01:00
Laurent Rineau 56bb4191ed cleanup existing code 2025-01-13 11:24:30 +01:00
Andreas Fabri ae81703f6c Stream_support: Document that WKT can also handle 3D points 2024-12-20 11:56:46 +00:00
albert-github dd02af92a2 issue #8515 Spelling mistakes found checking `en-GB` to `en-US`
Spelling corrections, `en-GB` -> `en-US`
2024-10-05 11:28:29 +02:00
albert-github 25bd968aa3 Incorrect documentation of color components in Stream_support
The zero-th component is 0, and consequently the first is green,  the second is blue and the alpha component is the 3rd.
2024-09-21 18:52:13 +02:00
Andreas Fabri 5171477b26 Fix tests 2024-06-17 15:57:38 +01:00
Andreas Fabri a316b67548 Merge remote-tracking branch 'cgal/master' into IO-read_PLY_Epeck-GF 2024-06-11 14:14:18 +01:00
Andreas Fabri 969062e3df Add the possibility to pass a vertex normal map 2024-06-11 13:15:04 +01:00
Mael Rouxel-Labbé 710666a51b Use the normal computation function that uses approximate_sqrt
As to be able to write even for kernels that do not offer sqrt
2024-06-10 14:01:24 +02:00
Laurent Rineau 70464ea107 Merge remote-tracking branch 'afabri/STL_extension-Fix_Prevent_deref-GF' into pr/lrineau/8170 2024-05-21 18:55:11 +02:00
Laurent Rineau 797c056577 Prevent_deref, major changes
Now the second parameter is the `reference` type and no longer the `value_type`.
2024-05-21 08:53:48 +02:00
Laurent Rineau bc76d8cbda add CGAL_CAN_USE_CXX20_FORMAT macro for <format> support (C++20) 2024-04-26 13:44:57 +02:00
Laurent Rineau 877e8322d2 fix oformat 2024-04-26 13:42:48 +02:00
Laurent Rineau 4c75012cca oformat(x, tag) passed the tag value to the Output_rep
That allows to pass an integral offset to the displayed time stamps.

The goal is to set it to -1, to display vertices IDs that are identical
to the input vertices indices of the `Surface_mesh``.
2024-04-26 13:29:31 +02:00
Laurent Rineau c2fe3273ff fix the std::formatter for Output_rep 2024-04-26 13:26:50 +02:00
Laurent Rineau 6096748402 Allow to compile with Epeck 2024-04-26 13:23:51 +02:00
Laurent Rineau 98f1e53020 Improve I/O
- `IO::oformat` can display triangulations vertex handles
  with point, using `With_point_tag{}` as second argument,

- improve the compatibility with C++20 `<format>`: now the precision
  can be specified in the format string.

Backport: master
2024-04-26 12:05:08 +02:00
Laurent Rineau 1f999bf8fd Merge pull request #7848 from sxntxn/OBJ_read_arbitrary_whitespace
CGAL::IO::Internal::read_OBJ(): allow arbitrary whitespace in "f" lines
2024-04-22 14:54:14 +02:00
Sebastian Hegler 912f3f0162 read_OBJ: allow arbitrary whitespace in "f" lines 2024-04-10 21:36:58 +02:00
Sébastien Loriot 5331c7e744 move after definition of function used 2024-03-13 17:59:08 +01:00
Andreas Fabri 263db4fa7a Merge master 2024-03-04 16:56:21 +00:00
Laurent Rineau 6d5d091f85 Merge pull request #8004 from afabri/Point_set-fix_issue_7996-GF
Point_set_3: property uchar refers to the range 0..255 not the char type
2024-02-13 11:18:17 +01:00
Andreas Fabri 32078f1c23 Point_set_3: property uchar refers to the range 0..255 not the char type 2024-01-26 14:35:26 +00:00
Andreas Fabri c3d4d115b2 Merge remote-tracking branch 'cgal/master' into gsoc2023-polygon_repair-kenohori 2024-01-05 09:53:07 +00:00
Sebastien Loriot caecbe29c7
Replace boost::mpl (#7813)
- `boost::mpl::if_` --> `std::conditional`
- `boost::enable_if` -> `std::enable_if`
- `boost::mpl::and_` -> `&&`
- `boost::mpl::or_` -> `||`
- `boost::constant::bool_` -> `std::bool_constant`
- ...
2023-12-26 17:33:36 +01:00
Sebastien Loriot 1787da400b
Stream_support: Add read_VTK() (#7826)
## Summary of Changes

Add `read_VTK()` so that we can also read non-xml   *.vtk files.

- [x] Document it correctly

## Release Management

* Affected package(s): Stream_support 
* Feature/Small Feature (if any):
* Link to compiled documentation:
[overview](https://cgal.github.io/7826/v0/Stream_support/IOStreamSupportedFileFormats.html#IOStreamVTK)
and
[function](https://cgal.github.io/7826/v0/Stream_support/group__PkgStreamSupportIoFuncsVTK.html#gaad7f1c5c10e8700a4a6de88294c5a620)

* License and copyright ownership:
2023-12-18 13:15:31 +01:00
Andreas Fabri 0991fc9d61 fix tag 2023-12-07 12:53:39 +00:00
Andreas Fabri 79262a365e polish 2023-12-07 11:56:06 +00:00
Sébastien Loriot d876fbab69 add missing include 2023-11-22 15:21:04 +01:00
Andreas Fabri 5eb93449c5 Fix ascii output 2023-11-22 08:37:13 +00:00
Andreas Fabri 40dee7d2a0 whitespace 2023-11-20 14:04:56 +00:00
Andreas Fabri 2d72f21107 IO: read_PLY() for Epeck 2023-11-20 13:09:59 +00:00
Sébastien Loriot 4344c3cc27 replace boost::mpl::or_ 2023-11-10 16:34:19 +01:00
Sébastien Loriot 2277013d84 replace boost::mpl::and_ 2023-11-10 16:19:26 +01:00
Laurent Rineau e92d42f0dc Merge pull request #7795 from lrineau/CGAL_Lab-fix_VTK_io_plugin-GF
CGAL Lab: fix reading of VTK files
2023-11-06 12:52:21 +01:00
Andreas Fabri c9eed8c4ec backtick 2023-10-26 16:04:05 +01:00
Andreas Fabri 48ee7cad90 Add read_VTK() so that we can also read non-xml *.vtk files 2023-10-25 10:03:14 +01:00
Andreas Fabri d760c408a7 Be precise 2023-10-17 14:08:33 +01:00
Laurent Rineau 98a5f2f490 fix reading of vtp files 2023-10-12 16:50:55 +02:00
Sébastien Loriot 467dcf9a80 Merge remote-tracking branch 'cgal/master' into HEAD 2023-10-06 11:10:08 +02:00
Laurent Rineau 1d29a75c9a iformat/oformat are in CGAL::IO
The calls without the `IO::` namespace are deprecated.
2023-09-25 16:09:41 +02:00
Laurent Rineau 46923342ad Merge pull request #7576 from albert-github/feature/issue_7395
issue #7395 Improvement of layout of model relations

# Conflicts:
#	Kernel_23/doc/Kernel_23/CGAL/Vector_2.h
2023-09-07 10:48:34 +02:00
Laurent Rineau cdd4b2cc75 Merge pull request #7595 from MaelRL/BGL-Generalize_FFG_doc-GF
Generalize documentation of Face_filtered_graph
2023-09-07 10:46:35 +02:00
Ken Arroyo Ohori 4613aa78a4 move multipolygon to polygon package 2023-08-24 15:59:19 +02:00
Sébastien Loriot 6c703f7fd8 Polygon_repair_2 -> Polygon_repair 2023-08-24 13:35:51 +02:00
Ken Arroyo Ohori c20d01c2d6 Merge branch 'CGAL:master' into gsoc2023-polygon_repair-kenohori 2023-08-21 03:38:46 -06:00
albert-github 93001308f4 Merge branch 'master' into feature/issue_7395
# Conflicts:
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementPointLocation_2.h
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementVerticalRayShoot_2.h
2023-08-18 11:10:42 +02:00
Sebastien Loriot b2be6dbbef fix istream for optional
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2023-08-18 09:35:45 +02:00
Andreas Fabri 6c85e541f7 Fix doc typos 2023-07-20 11:25:25 +01:00
Andreas Fabri 879b7ea139 Add WKT support for Multipolygon_with_holes 2023-07-20 10:51:51 +01:00
Mael Rouxel-Labbé 09a6a3e1c7 Add a hash for CGAL::IO::Color 2023-07-12 14:40:47 +02:00
albert-github 301728a8a9 issue #7395 Improvement of layout of model relations
- Completed the cgalModels part
2023-07-09 12:43:36 +02:00
Sébastien Loriot b66afab814 Merge remote-tracking branch 'sloriot/CGAL-using_c++17_stl' into HEAD 2023-07-05 11:29:35 +02:00
Sébastien Loriot 68813c5c63 Merge pull request #7403 from sloriot/CGAL-replace_boost_by_std
Replace boost by std
2023-07-05 11:08:36 +02:00
Sébastien Loriot b1465645ad fix variant output 2023-06-29 18:48:15 +02:00
Sébastien Loriot 9e22fdfcb8 iformat for optional 2023-06-29 18:08:57 +02:00
Sébastien Loriot 84abdc7582 add partial specialization of Output_rep for optional and variant 2023-06-29 10:43:21 +02:00
Sébastien Loriot dfc386d65b Merge branch 'master' into HEAD 2023-06-22 14:05:45 +02:00
Laurent Rineau 3851bc437e Merge pull request #7513 from sloriot/T23-exact_serialization
EPECK Triangulation serialization
2023-06-22 11:59:34 +02:00
Sébastien Loriot f936680600 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 18:48:39 +02:00
Sébastien Loriot 9cdfe70abb Merge remote-tracking branch 'sloriot/CGAL-toward_6.0' 2023-06-15 11:34:09 +02:00
Sébastien Loriot 71b4e4f08f boost::shared_ptr => std::shared_ptr 2023-06-15 10:57:01 +02:00
Sébastien Loriot bbc4d08ee0 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 10:47:07 +02:00
Sébastien Loriot 852b3b664b expand -CGAL_CPP17_INLINE macro 2023-06-15 10:40:54 +02:00
Sébastien Loriot 2251c438fa enable exact serialization of triangulations with EPECK 2023-06-13 14:30:01 +02:00
Sébastien Loriot 1e6519e51a Merge remote-tracking branch 'cgal/5.5.x-branch' 2023-05-11 17:28:21 +02:00
Laurent Rineau 4f6398a4e2 Merge pull request #6575 from nh2/ply-property-lists
PLY: Support writing per-face/vertex property lists
2023-05-11 17:01:44 +02:00
Laurent Rineau 4d76e06383 Merge pull request #7392 from MaelRL/CGAL_IO-Obj_fixes-GF
Fix issues in OBJ I/O
2023-04-24 14:08:22 +02:00
Laurent Rineau 4fe208bdd3 Merge pull request #7392 from MaelRL/CGAL_IO-Obj_fixes-GF
Fix issues in OBJ I/O
2023-04-24 14:06:34 +02:00
Sébastien Loriot b039040f73 boost::is_convertible -> std::is_convertible 2023-04-23 22:37:07 +02:00
Sébastien Loriot 99e7f4806a boost::int -> std::int 2023-04-23 18:43:10 +02:00
Sébastien Loriot fc034c6a5d boost::unit -> std::uint 2023-04-23 18:40:39 +02:00
Mael Rouxel-Labbé d33fc1ad07 Add missing error message 2023-04-18 11:23:16 +02:00
Mael Rouxel-Labbé b7ca320000 Fix null char reading and backslash separated multi lines 2023-04-18 11:23:06 +02:00
Laurent Rineau 9e18cc6989
Unexpected backtick (#7378)
In the file: Arrangement_on_surface_2/index.html
we see:
```
The example below shows how to construct the same arrangement of five line segments built incrementally in Arrangement_on_surface_2/incremental_insertion.cpp` depicted in Figure 34.9 using the aggregate insertion
```
i.e. an unexpected backtick.
2023-04-12 09:55:42 +02:00
albert-github 8a0b21461d Unexpected backtick
- Corrected some more redundant / missing backticks
- correctes a spelling error (Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2/Gps_default_dcel.h)
2023-04-11 17:38:37 +02:00
Laurent Rineau 988d226d08 Merge pull request #6176 from afabri/CGAL-W4WX-GF
CGAL/IO/helpers.h: fix VC++ /W4 warning
2023-04-11 14:19:09 +02:00
Sébastien Loriot 1627150231 Merge remote-tracking branch 'cgal/5.5.x-branch' 2023-02-16 10:21:32 +01:00
Sébastien Loriot ec00fa30b2 Merge remote-tracking branch 'cgal/5.4.x-branch' into HEAD 2023-02-16 10:21:09 +01:00
Sébastien Loriot 097b14d055 add missing include directive 2023-02-16 10:20:31 +01:00
Laurent Rineau 5f8930db8c Merge branch '5.5.x-branch'
# Conflicts:
#	Convex_hull_2/test/Convex_hull_2/ch_test_CH.cpp
#	Convex_hull_2/test/Convex_hull_2/ch_test_SC.cpp
#	Convex_hull_2/test/Convex_hull_2/ch_test_SH.cpp
#	Convex_hull_2/test/Convex_hull_2/ch_test_SS.cpp
#	Straight_skeleton_2/include/CGAL/constructions/Straight_skeleton_cons_ftC2.h
#	Straight_skeleton_2/include/CGAL/predicates/Straight_skeleton_pred_ftC2.h
2023-01-27 21:16:14 +01:00
Laurent Rineau afd56fe52b Merge pull request #7112 from afabri/T2_demo-read_WKT-GF
Triangulation_2 Demo: Read files with many WKT entities
2023-01-27 20:52:32 +01:00
Andreas Fabri aa8da893c2 Fix and simplify code 2022-12-14 08:20:44 +00:00
albert-github c32b1f4127 spelling corrections
Some spelling corrections (Directories starting with `S` rest - `W`),
2022-11-16 13:22:39 +01:00
albert-github 45478184de spelling corrections
Some spelling corrections (Directories starting with `E`-` L`),
some backward work
some forward work
2022-11-15 13:39:40 +01:00
albert-github 17a84db90e Some obvious missing quotes
Some obvious missing quotes  (last set)
2022-09-25 18:00:08 +02:00
Sébastien Loriot 9dd8235dc5 more workarounds for MSVC 2015
[skip ci]
2022-08-10 23:50:39 +02:00
Andreas Fabri 70a06b4696 Do not use CGAL::iterator_v<> as it is responsible for the ICE of VC2015 2022-06-27 08:58:17 +01:00
Sébastien Loriot aa9f5215c4 factorize 2022-06-24 17:21:37 +02:00
Andreas Fabri fe7d09ce90 Do not use is_iterator_v for VC2015 2022-06-24 15:24:28 +01:00
Sébastien Loriot 91671dae03 is_Range<>::value --> is_Range_v<> 2022-06-10 09:51:56 +02:00
Sébastien Loriot b96f6d5ce9 move is_iterator to type_traits 2022-06-10 09:43:59 +02:00
Sébastien Loriot 44250cb019 is_iterator_XXX<>::value --> is_iterator_XXX_v<> 2022-06-10 09:40:29 +02:00
Sébastien Loriot 4f5f8341cc use std::enable_if_t 2022-06-10 07:37:53 +02:00
Niklas Hambüchen 59d70a5018 PLY: Support writing per-face/vertex property lists 2022-05-12 12:51:42 +02:00
Laurent Rineau 299a8a9072 Add #include vector 2022-04-28 12:08:39 +02:00
Laurent Rineau 362c30f1bd Merge pull request #6454 from afabri/Stream_support-call_string_clear-GF
Stream_support: Make line a data member and call clear()
2022-03-31 16:57:58 +02:00