Commit Graph

106595 Commits

Author SHA1 Message Date
Sebastien Loriot 00f0c85499
Kernel_23: Deal with concurrent executions and IO (#7921)
## Summary of Changes

Write and read back in a `std::stringstream` to avoid simultaneous IO on
the same file name.
Error seen in this
[testsuite](https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-6.0-Ic-124/Circular_kernel_2/TestReport_gimeno_ArchLinux-clang-CXX17-Release.gz).

## Release Management

* Affected package(s):  Kernel_23, Circular_kernel_2
* License and copyright ownership: unchanged
2023-12-18 13:25:36 +01:00
Sebastien Loriot cadc6ed343
Add a convenience IO header (#7929)
## Summary of Changes

There is:

```
CGAL/boost/graph/IO/polygon_mesh_io.h
CGAL/PMP/IO/polygon_mesh_io.h
CGAL/IO/polygon_soup_io.h
```

The first one is a bit awkward to remember, so this PR adds a
convenience header at `CGAL/IO/polygon_mesh_io.h`.

## Release Management

* Affected package(s): `BGL`
* Issue(s) solved (if any): -
* Feature/Small Feature (if any):
* Link to compiled documentation (obligatory for small feature) [*wrong
link name to be changed*](httpssss://wrong_URL_to_be_changed/Manual/Pkg)
* License and copyright ownership:
2023-12-18 13:22:46 +01:00
Sebastien Loriot b9696c2f86
Polyhedron Demo: Add sampling plugin (#7910)
## Summary of Changes

Add a plugin that samples meshes and polygon soups

### Todo

- [x] Add dialog for the various parameters of the sampling function
- [x] Check that the input is triangular.

## Release Management

* Affected package(s): Polyhedron
* License and copyright ownership: unchanged
2023-12-18 13:21:01 +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
Jane Tournois a66e78a672 when curves topology is valid, use curve_segment_length 2023-12-15 15:52:02 +01:00
Jane Tournois 3ef2ce9163 check_and_repopulate_edges() reactivated with minimal size
disabling it may give too bad results
change the arc_length computation when minimal size is used, instead,
by approximating it by the segment length
2023-12-15 14:44:33 +01:00
Efi Fogel 5b66d54cb8 Used new conic construction interface 2023-12-15 13:50:10 +02:00
Efi Fogel 35fe1d7037 Merge branch 'master' into Ss_2-test_conics-efif 2023-12-15 13:19:27 +02:00
Jane Tournois 7fa2db8dfc add helper function minimal_weight() 2023-12-14 19:01:57 +01:00
Jane Tournois 85b8da120d constify more 2023-12-14 15:36:57 +01:00
Jane Tournois 54677b388c set default minimal_size_ to -1 and add helper function to check if it is set 2023-12-14 15:35:06 +01:00
Sébastien Loriot be9c8c8ff2 Merge remote-tracking branch 'cgal/5.6.x-branch' 2023-12-14 15:27:22 +01:00
Sébastien Loriot 32da8399fb Merge remote-tracking branch 'cgal/5.5.x-branch' into HEAD 2023-12-14 15:26:44 +01:00
Sebastien Loriot 2aea89ff03
Hide forward declaration to doxygen (#7928) 2023-12-14 15:25:23 +01:00
Sébastien Loriot 7935bcf42b fix mismatching cond/endcode
remove useless previous patches
2023-12-14 10:10:17 +01:00
Sébastien Loriot 93ba75b8a1 add missing not 2023-12-14 08:47:54 +01:00
Laurent Rineau 9a944e563c Merge remote-tracking branch 'cgal/master' into PMP-BF_autorefine
# Conflicts:
#	Installation/CHANGES.md
#	Polygon_mesh_processing/examples/Polygon_mesh_processing/CMakeLists.txt
2023-12-13 15:57:30 +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
Mael Rouxel-Labbé 61ad28c80c Swap the contents of CGAL/IO/polygon_mesh_io.h and CGAL/BGL/IO/polygon_mesh_io.h 2023-12-13 09:58:06 +01:00
Andreas Fabri 0f9e446219 static_cast<int> 2023-12-13 08:57:24 +00:00
Andreas Fabri a701dbc21c Deal with LAS.h 2023-12-13 08:36:46 +00:00
Andreas Fabri ee1d222d45 double -> int 2023-12-13 07:35:53 +00:00
Jane Tournois f241f4b6ef rename example with shorter name
error on windows testsuites :
"The fully qualified file name must be less than 260 characters."
2023-12-12 17:41:37 +01:00
Sébastien Loriot dac26de5c3 update test
cc @efifogel
2023-12-12 17:09:57 +01:00
Jane Tournois fa052c3d84 move sliver peeling to its own header file
# Conflicts:
#	Tetrahedral_remeshing/include/CGAL/Tetrahedral_remeshing/internal/tetrahedral_adaptive_remeshing_impl.h
2023-12-12 16:09:54 +01:00
Sébastien Loriot 8cc75d642c fix warnings 2023-12-12 15:27:00 +01:00
Sébastien Loriot 35e845d8dc do no use delete event 2023-12-12 15:11:40 +01:00
Sébastien Loriot 814a92655d remove non needed typenames + missing ref 2023-12-12 13:12:45 +01:00
Sébastien Loriot b267b31bea workaround MSVC 2022 bug 2023-12-12 13:12:21 +01:00
Sébastien Loriot 10f4caa296 add missing ref 2023-12-12 11:53:22 +01:00
Andreas Fabri 62a64ae870 Add check that it faces are triangles 2023-12-12 09:28:01 +00:00
Mael 935a0faf2f
Update macro name
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2023-12-12 10:09:06 +01:00
Andreas Fabri 796188e351 avoid intermediate vector 2023-12-12 08:52:01 +00:00
Andreas Fabri 4d9476ca5b Add example for sampling 2023-12-12 08:47:47 +00:00
Andreas Fabri 6ca34b6210 Add example for sampling 2023-12-12 08:44:12 +00:00
Sébastien Loriot 07acb78d30 add tests for autoref 2023-12-12 09:41:44 +01:00
Mael Rouxel-Labbé 81972df60e Add a convenience IO header 2023-12-12 09:39:35 +01:00
Sébastien Loriot 79123c8f53 hide forward declaration to doxygen 2023-12-12 08:31:46 +01:00
Sébastien Loriot d0c224fafb handle some todos 2023-12-11 16:09:55 +01:00
Laurent Rineau a2ea1742c3 Merge branch '5.6.x-branch' 2023-12-11 14:05:26 +01:00
Laurent Rineau 275c175f15 Merge pull request #5895 from sloriot/PMP-refine_mesh_along_isolevel
add function to refine a mesh along an isocurve
2023-12-11 14:00:49 +01:00
Laurent Rineau 222fafc411 Merge pull request #7805 from MaelRL/AW3-Resume_aw3-GF
Alpha wrapping: re-use and resume functionalities
2023-12-11 13:56:29 +01:00
Laurent Rineau ef881a1aa9 Merge pull request #7844 from janetournois/Mesh_3-remove_unused_criteria-GF
Mesh_3 - `Mesh_criteria_3` cleaning
2023-12-11 13:56:26 +01:00
Laurent Rineau ab3977570f Merge pull request #7864 from afabri/Nef_S2-initialization-GF
Nef_S2: Move code to initializer list
2023-12-11 13:56:24 +01:00
Laurent Rineau e0eb2d4014 Merge pull request #7867 from lrineau/Scripts-improve_add_toc_to_github_wiki_page.py-GF
Improve add_toc_to_github_wiki_page.py
2023-12-11 13:56:20 +01:00
Laurent Rineau 721487fded Merge pull request #7873 from sloriot/PMP-improve_sizing_concept_and_new_ex
Isotropic remeshing: add example with custom dummy sizing
2023-12-11 13:56:13 +01:00
Laurent Rineau 2592ad44fc Merge pull request #7879 from afabri/PMP_unify_names-GF
PMP Examples: Unify type names
2023-12-11 13:56:10 +01:00