Commit Graph

1003 Commits

Author SHA1 Message Date
Andreas Fabri e652a7976a fix doxygen warning 2025-09-29 16:21:33 +01:00
Andreas Fabri 5103fb4eb7 merge 2025-09-26 17:18:25 +01:00
Andreas Fabri bdee2836df Fix dependencies 2025-09-26 16:16:27 +01:00
Andreas Fabri 39fe8b3a6d convert directly to Simple_cartesian<float> 2025-09-26 16:03:31 +01:00
Andreas Fabri 61cf55efee Convert internally to double as required by file format. Document the point property map which is implemented 2025-09-26 15:46:08 +01:00
Andreas Fabri 0cf9d434b6 Convert internally to double as required by file format. Document the point property map which is implemented 2025-09-26 15:22:32 +01:00
Mael Rouxel-Labbé 561ec37dc6 Remove extra space between NP entries 2025-09-22 11:53:21 +02:00
Andreas Fabri d7cfaccfa1 Add Property_map to dependencies 2025-09-19 15:55:08 +01:00
Andreas Fabri 316c455034 Fix Default for the point_map type 2025-09-19 15:51:53 +01:00
Andreas Fabri 7d4852a60f trailing whitespace 2025-09-19 15:46:42 +01:00
Andreas Fabri 6c4aeabb9d Document the named parameter point_map and use it in the issue 2025-09-19 15:38:46 +01:00
Andreas Fabri 967aee62e9 Stream_support: Fix for Epeck 2025-09-18 09:19:19 +01:00
Andreas Fabri a95bfa77c8 The example can also read in a polygon with 3D points 2025-09-17 15:27:23 +01:00
Andreas Fabri 4510260e36 Use found 2025-09-11 08:05:24 +01:00
Andreas Fabri ef834cc6c1 Test that 2D wkt data can be read into 3D points/polygons 2025-08-20 16:30:49 +01:00
Andreas Fabri b23eb7e7b4 Deal with read_WKT() 2025-08-20 15:32:33 +01:00
Andreas Fabri 8cedde9036 Stream_support: Return false if nothing read 2025-08-20 15:10:31 +01:00
Yliess Bellargui e0634c4ab1 Add VTK I/O support for Linear_cell_complex 2025-08-06 22:34:33 +02:00
Jane Tournois 0ab9d3eebf Merge remote-tracking branch 'cgal/master' into Triangulation_3-CDT_3-lrineau
# Conflicts:
#	Installation/CHANGES.md
2025-06-10 11:18:38 +02:00
Sébastien Loriot 99c70b1ef2 fix doc errors 2025-06-02 19:03:19 +02:00
Sebastien Loriot 97bd1cf428
Rename home page of reference manuals to "Reference Manual" (#8904)
Before: "Pkg Reference"
After: "Reference Manual"

No need to repeat the package name as it is on the line above.

Example output
![Screenshot from 2025-05-22
16-18-54](https://github.com/user-attachments/assets/ed285e12-d95c-4ec2-934d-12f4c7aa014c)
2025-05-26 11:47:37 +02:00
Sébastien Loriot 13609a6966 no need to repeat the package name as it is on the line above 2025-05-22 17:53:41 +02:00
Laurent Rineau 34cdf58eea fix doc in Stream_support
and refactor the CSS files
2025-05-21 16:56:10 +02:00
Laurent Rineau 182b706633 GAL/CGAL 2025-05-21 15:39:38 +02:00
Laurent Rineau 171703ad35 fix the formatting in that page 2025-05-21 15:35:11 +02:00
Laurent Rineau 2359de500e fix doc in PkgPolyhedronIOFunc 2025-05-21 14:47:18 +02:00
Laurent Rineau b74ab80a85 fix the doc of the Medit format 2025-05-19 19:02:31 +02:00
Laurent Rineau cb33e4fc7e fix iwyu warnings 2025-05-16 11:50:38 +02:00
Andreas Fabri 2bdeff8687 counter-clockwise -> counterclockwise 2025-05-15 07:41:00 +01:00
Mael Rouxel-Labbé e38e29f279 dont > don't 2025-03-28 20:52:22 +01:00
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 e5001d1a50 update our CMake version 3.18...3.31
That will suppress the warnings about `CMP0167` (from CMake 3.30):

```
CMake Warning (dev) at cmake/modules/display-third-party-libs-versions.cmake:37 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
```
2025-02-04 14:32:37 +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
Sebastien Loriot 74ea8b1f6c
Add CGAL::IO::read_OM() (#8427)
## Summary of Changes

Add a function to read an OpenMesh file ( `*.om` ) in CGALlab. This file
format stores also edges and vertices marked as features.
For the moment the function itself is not documented.

## Release Management

* License and copyright ownership: GeometryFactory
2024-11-14 14:12:26 +01:00
Sébastien Loriot c8936698ac apply @MaelRL review 2024-11-08 16:22:47 +01:00
Sébastien Loriot 51b98e9cc2 add doc 2024-10-24 16:54:15 +02:00
Jane Tournois cddb3d5c56 move OM.h IO header to BGL package
adapt demo and examples
BGL example TriMesh.cpp does not compile
2024-10-23 11:58:02 +02: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
Jane Tournois 5d77b6b19e remove debug code 2024-09-26 12:11:11 +02:00
Jane Tournois 54db08518a
add EOL
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2024-09-26 11:58:52 +02:00
Jane Tournois 5f2afe2e36
fix typedefs (code review)
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2024-09-26 11:58:20 +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 7faabe4b62 Add #include of copy_face_graph 2024-09-20 07:54:34 +01:00
Andreas Fabri 206eb3c198 Only compile OM.h when using OpenMesh 2024-09-17 08:52:14 +01:00
Andreas Fabri 7d849ee2d3 Merge remote-tracking branch 'cgal/master' into BGL-Openmesh_selection-GF 2024-09-17 08:48:44 +01:00
Sébastien Loriot 41b096c91a Merge remote-tracking branch 'cgal/5.6.x-branch' 2024-09-11 17:23:50 +02:00
Sébastien Loriot 4115afa3da Merge remote-tracking branch 'cgal/5.5.x-branch' 2024-09-10 13:51:15 +02:00
Sébastien Loriot 19372fe0d1 fix comment 2024-09-09 17:15:43 +02:00
Jane Tournois 1066666ad8 Merge remote-tracking branch 'cgal/master' into BGL-Openmesh_selection-GF 2024-09-09 15:26:04 +01:00
Sven Oesau cc2bec0a96 Prevent usage of LASlib with msvc 2017 2024-09-09 16:17:40 +02:00
Sébastien Loriot 9ff709885a Merge remote-tracking branch 'cgal/5.6.x-branch' 2024-09-06 16:07:49 +02:00
Sébastien Loriot 98f4633e5f Merge remote-tracking branch 'cgal/5.5.x-branch' 2024-09-06 16:07:14 +02:00
Jane Tournois dfecf519da trailing whitespaces 2024-09-05 17:21:40 +02:00
Jane Tournois 2145d262d3 add write_OM() and use it in OM_io_plugin 2024-09-05 17:14:53 +02:00
Sébastien Loriot 04e90b7eb4 do not use empty variable 2024-08-30 15:58:57 +02:00
Sven Oesau a82fb5088b allow use of Rapidlasso Laslib as alternative to CGALs fork 2024-08-30 10:14:36 +02:00
Sven Oesau 6917edd697 added test for formerly unused OutputIteratorValueType 2024-08-28 16:16:25 +02:00
Andreas Fabri 302e2fe594 We are only interested in features 2024-08-22 14:53:11 +01:00
Andreas Fabri 496019ae4e Add a selection item for edges marked in the om file 2024-08-22 13:25:31 +01:00
Andreas Fabri 4832f06ae4 Add plugin to read OpenMesh .om files 2024-08-22 11:40:27 +01:00
Andreas Fabri 5171477b26 Fix tests 2024-06-17 15:57:38 +01:00
Sébastien Loriot 86866e232e remove Surface_mesher from doc deps 2024-06-12 20:34:54 +02:00
Laurent Rineau 32893b91c0 Merge pull request #8263 from lrineau/CGAL-update_minimal_cmake-GF
cmake_minimum_required(VERSION 3.12...3.29)
2024-06-12 10:06:12 +02:00
Andreas Fabri 0e27e7632c cleanup 2024-06-11 15:36:07 +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 a08388c4e3 Also write normals in the generic code 2024-06-11 14:02:31 +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é c5a688590a Test the write output 2024-06-10 14:01:24 +02: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
Andreas Fabri fe86a79bdc Fix the test 2024-06-07 09:01:29 +01:00
Andreas Fabri 7a984104fa Add code that shows the issue 2024-06-07 08:43:36 +01:00
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
albert-github 36c8b7589d Spelling corrections
Last batch (for now) of spelling corrections in doxygen and normal comments
2024-05-31 19:05:34 +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
Laurent Rineau b20f18ff3b 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:51:01 +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
Andreas Fabri 25b084e146 Fix operator<< for Multipolygon_with_holes 2024-02-23 07:52:05 +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 b1195233fa Add CGAL::IO:: for linking 2023-12-13 10:45:08 +00:00
Andreas Fabri 2713fe3c41 give \link a try for linking 2023-12-13 10:00:44 +00:00
Andreas Fabri fd8e6372c7 Add CGAL::IO:: for linking 2023-12-13 09:31:25 +00:00
Andreas Fabri 74c47e6222 Add CGAL::IO:: for linking 2023-12-13 09:21:16 +00:00