Commit Graph

263 Commits

Author SHA1 Message Date
Sébastien Loriot 26a5fc70e4 Merge remote-tracking branch 'cgal/6.1.x-branch' into 'cgal/main' 2025-12-03 11:54:47 +01:00
Andreas Fabri f503ce9359 Lab: use results 2025-12-03 11:51:43 +01:00
Sebastien Loriot 1673cd0f9e
Fix OBJ loader crashing the demo on reading failure (#9128)
## Release Management

* Affected package(s): `Lab`
* Issue(s) solved (if any): a few entries in #6690 
* Feature/Small Feature (if any): n/a
* License and copyright ownership: no change
2025-11-13 09:40:07 +01:00
Sebastien Loriot dfc5fb5065
IO: write_PLY() for Epeck (#7874)
## Summary of Changes

As reported in #7868 the function `CGAL::IO::write_PLY()` used in binary
mode does not correctly write the coordinates if the points are from a
kernel with exact constructions.
~~This PR applies `to_double()" to the coordinates.~~

~~After a discussion with @MaelRL we decided that the user is in charge
to pass a `vertex_point_map` as named parameter that does the
conversion. This is straightforward as we offer the
[`Cartesian_converter_property_map`](https://doc.cgal.org/latest/Property_map/structCGAL_1_1Cartesian__converter__property__map.html).~~

Moving back to the previous proposal: hardcode some to_double and
to_float casts such that we meet the requirements of the file format,
whatever the input.

As the problem is the same for the vertex normals we add a named
parameter `vertex_normal_map`.

### Todo
- [x] Fix the generic function `write_polygon_mesh()`. Currently it is
fixed for `Surface_mesh`

## Release Management

* Affected package(s): Stream_support
* Issue(s) solved (if any): fix #7868 and fix
https://github.com/CGAL/cgal/issues/7327
* License and copyright ownership:  unchanged
* upcoming integration, update #9072 and test it
2025-11-13 09:38:55 +01:00
Mael Rouxel-Labbé cd787c84d1 Use verbose OBJ reader in Lab 2025-11-07 22:02:08 +01:00
Mael Rouxel-Labbé 0ac856dd41 Fix OBJ loader crahsing the demo on reading failure 2025-11-07 21:00:12 +01:00
Sébastien Loriot 3b0d95e0e5 Merge remote-tracking branch 'cgal/6.1.x-branch' into 'cgal/main' 2025-11-06 10:07:15 +01:00
Sven Oesau ffda347171 adding support for Eigen3 5.0.0 (6.1 version)
moving the Eigen3 version check into CGAL_Eigen3_support.cmake
2025-11-06 10:06:29 +01:00
Sébastien Loriot a9b369650a Merge remote-tracking branch 'cgal/6.0.x-branch' into 'cgal/6.1.x-branch' 2025-11-06 10:04:46 +01:00
Sven Oesau 9e36c6744b adding support for Eigen3 5.0.0
moving the Eigen3 version check into CGAL_Eigen3_support.cmake
2025-11-06 10:01:01 +01:00
Sebastien Loriot 2007dd9e9e
Fixing conversion warnings (#9095)
## Summary of Changes

Fixing some conversion warnings.

## Release Management

* Affected package(s): Kinetic Surface Reconstruction, Lab, PMP
2025-10-17 10:06:48 +02:00
Sven Oesau 1a07d25cc3 fixing some conversion warnings 2025-10-06 16:06:42 +02:00
Andreas Fabri 3be4ffce37 Fix plugin 2025-09-29 15:42:59 +01:00
Andreas Fabri 3567ba1456 Fix plugin 2025-09-29 15:08:02 +01:00
Laurent Rineau dcb298d265 fix a CMake warning about ITK 2025-09-25 11:41:06 +02:00
Laurent Rineau 318a03d56e CGAL Lab: fix linter warnings in Scene_polygon_soup_item.cpp 2025-09-25 11:05:17 +02:00
Sebastien Loriot 39c7001a25
Stream Support: Return false if nothing was read (#9038)
## Summary of Changes

The `read_..._WKT()` functions have `bool` as return type, but currently
only check if the stream is bad, which is not the case if no input was
read.

This PR was triggered by the fact that CGALlab could not WTK files with
polygons, but only polylines. It now can read polygons, but does only
draw the contours and not the interior.

## Release Management

* Affected package(s): Stream_support
* License and copyright ownership:  unchanged
2025-09-22 12:00:10 +02:00
Sebastien Loriot 521883477d
CGAL: Adress Wunused-but-set-variable (#9040)
## Summary of Changes

### Todo

In the issue I had questions to @soesau and @janetournois 

## Release Management

* Affected package(s): 
* Issue(s) solved (if any): fix #9039
* License and copyright ownership: unchanged
2025-09-22 11:58:40 +02:00
Andreas Fabri 6912b8c668 CGALlab can now load wkt polygons and display them as polylines 2025-09-17 16:10:45 +01:00
Sebastien Loriot 106f9659b1
Lab: Plugin to open .spheres.txt files (#9028)
## Summary of Changes

Added a Plugin to import .spheres.txt files with a list of spheres.

## Release Management

* Affected package(s): Lab
2025-09-08 15:30:38 +02:00
Sébastien Loriot 72cfcc4156 Merge remote-tracking branch 'cgal/6.1.x-branch' into 'cgal/main' 2025-09-03 16:57:03 +02:00
Andreas Fabri 3108022a21 CGAL: Address Wunused-but-set-variable 2025-08-21 13:13:29 +01:00
Andreas Fabri 74cf183ba2 Adress warning 2025-08-21 06:06:38 +01:00
Sébastien Loriot ae6ffd5e09 use EPICK and Side_of_triangle_mesh 2025-08-20 15:51:33 +02:00
Sébastien Loriot 2ae34a22ba Merge remote-tracking branch 'cgal/6.1.x-branch' into 'cgal/main' 2025-08-13 18:09:36 +02:00
Sven Oesau 90f6b74bf4 revert changes to shader_spheres.vert
removing unused function
2025-08-08 12:01:12 +02:00
Sven Oesau 84ece78f82 Lab plugin to open .spheres.txt files with a list of spheres 2025-08-08 11:41:36 +02:00
Sébastien Loriot 81952a1c18 Merge pull request #8965 from ybellargui/Small_feature/rename_functions_with_deprecated
[Small Feature] Rename import functions with deprecation and add alias tests
2025-08-07 14:42:13 +02:00
Andreas Fabri 465d2046ae cleanup 2025-08-04 16:02:03 +01:00
Andreas Fabri 0578f9ce05 constness 2025-08-04 15:46:20 +01:00
Andreas Fabri 5d9271d7f4 Lab: Use std::filesystem 2025-08-04 14:34:21 +01:00
Sébastien Loriot 8e0f2d6f73 Merge remote-tracking branch 'cgal/6.0.x-branch' into 'cgal/master' 2025-07-31 15:19:07 +02:00
Sébastien Loriot b7f70c6972 filesystem is now header only and lib was empty for some releases anyway 2025-07-28 14:30:41 +02:00
Sébastien Loriot 8cf322f104 make sure boost system is found 2025-07-28 09:23:23 +02:00
Sebastien Loriot e4860ccc92
Spelling correction (#8957)
Spelling correction
2025-07-07 19:59:59 +02:00
Sébastien Loriot 3d260f7f99 fix compatibility issue with qt 6.4 2025-07-01 17:05:23 +02:00
Yliess Bellargui ff6a91eb61 [Small Feature] Rename import functions with deprecation and add alias tests 2025-07-01 11:36:49 +02:00
albert-github 12cde5b685 Spelling correction
After review: euclidean -> Euclidean
2025-06-27 13:04:28 +02:00
Sébastien Loriot 78cfeacf01 Merge pull request #8186 from lrineau/Triangulation_3-CDT_3-lrineau
New package: CGAL 3D conforming constrained Delaunay triangulations
2025-06-26 21:57:17 +02:00
Sébastien Loriot 493fa7cfbd Merge remote-tracking branch 'cgal/6.0.x-branch' into 'cgal/master' 2025-06-26 21:51:30 +02:00
Sébastien Loriot 989de1c4cb Revert "Parallel Mesh_3 by default"
This reverts commit 1471b6c933.
2025-06-23 08:51:00 +02:00
Sébastien Loriot 1471b6c933 Parallel Mesh_3 by default 2025-06-20 10:23:07 +02:00
Jane Tournois 16ff0ba30a c3t3 is "valid" only if generated by Mesh_3, not if loaded from a .mesh file
this disables the demo to save a mesh that was just loaded, or loaded+remeshed
for example

this commit fixes that bevaviour
2025-06-17 17:22:33 +02:00
Jane Tournois 712ce7e6f5 use color picker to choose surface color after "reset surface patches" 2025-06-17 10:54:20 +02:00
Jane Tournois d034ff373c reset surface patch colors to have the same patch ID everywhere 2025-06-16 17:06:53 +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
Jane Tournois 0e3778ff1a face/facet vocabulary
the np is now plc_face_id
where "face" stands for "polygon" as in FaceListGraph for example
2025-06-05 16:10:21 +02:00
Sebastien Loriot 30b3388446
New package: Frechet Distance (#8284)
## Summary of Changes

Add a new package computing the approximate Fréchet distance between two
polylines in dD under Euclidean metric, or decides if the distance is
smaller than a given value.

## Release Management

* Affected package(s): Frechet_distance
* Feature (if any):
[link](https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Frechet_Distance)
* License and copyright ownership:  MPI, GeometryFactory, cnrs(?)

## TODO:
- [x] check branch size (@sloriot)
- [x] Make it work with `Epick_d<Dimension_tag<2>>` @sloriot
2025-06-05 16:08:47 +02:00
Jane Tournois 19f10ea890 rename plc_face_id to plc_facet_id 2025-06-02 12:49:03 +02:00
Laurent Rineau bdd7988a4a remove CMake warnings about CMP0167
The issue was when VTK/ITK was searched. The
variable `CMAKE_POLICY_DEFAULT_CMP0167` can be
used to workaround that.
2025-05-27 13:02:04 +02:00