Andreas Fabri
1dc39039e9
merge cgal/main
2025-11-13 08:48:43 +00: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é
333a15584f
Handle (invalid) zero vertex index in face
2025-11-07 22:02:20 +01:00
Andreas Fabri
5050b54bfe
robustify normal computation for STL
2025-10-30 12:03:22 +01:00
Andreas Fabri
35613b984f
Deal with generic version
2025-10-30 11:45:28 +01:00
Andreas Fabri
00f5ae061d
Use Simple_cartesian<Exact_rational>
2025-10-30 09:36:53 +01:00
Andreas Fabri
8623f28bb0
Use internal::construct_normal_of_STL_face()
2025-10-22 10:32:00 +01:00
Andreas Fabri
4c27d08372
Apply suggestions from code review
...
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2025-10-22 11:17:31 +02:00
Andreas Fabri
0217e30573
Stream_Support: typos
2025-10-22 09:31:56 +01:00
Andreas Fabri
5d82eed3ea
Update Stream_support/include/CGAL/IO/STL.h
2025-10-21 17:26:45 +02:00
Andreas Fabri
3706528a0c
Update Stream_support/include/CGAL/IO/PLY/PLY_writer.h
...
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2025-10-17 11:20:06 +02:00
Andreas Fabri
62a9c9e04f
cleanup
2025-10-15 16:23:59 +01:00
Sébastien Loriot
67349ccbe1
include for boost range
2025-10-15 16:49:15 +02:00
Sébastien Loriot
8215abd980
fix compilation and warnings
2025-10-15 09:57:32 +02:00
Andreas Fabri
358a588eae
Deal with binary VTP for non-double kernel
2025-10-14 14:21:39 +01:00
Andreas Fabri
c43058de26
Changes after Mael's comments
2025-10-14 09:24:44 +01:00
Sven Oesau
0ffa81d3c4
fix warnings
2025-10-08 13:36:35 +02:00
Andreas Fabri
865c1d2ed7
Fix error in test case
2025-10-06 13:05:32 +01:00
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
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

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