Commit Graph

182 Commits

Author SHA1 Message Date
Sven Oesau ea15e10289 removing unused variables or adding CGAL_USE 2025-09-01 13:21:53 +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 9fba4c9918 Merge remote-tracking branch 'cgal/6.0.x-branch' into 'cgal/master' 2025-06-10 17:32:45 +02:00
Sebastien Loriot 50f59129e8
SMDS_3 - fix `output_to_vtu()` when `Subdomain_index` is `int` (#8926)
## Summary of Changes

This PR fixes issue #8901
that happened when `Subdomain_index` was an `int` (and probably anything
else than `double`)

## Release Management

* Affected package(s): SMDS_3
* Issue(s) solved (if any): fix #8901 
* License and copyright ownership: unchanged
2025-06-10 14:06:56 +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 3ab0737d4f fix output_to_vtu() when Subdomain_index is int 2025-06-04 15:06:43 +02:00
Jane Tournois e059b75b6c fix compilation when tetrahedron_soup_to_triangulation_3() is called without NP 2025-06-04 10:44:35 +02:00
Laurent Rineau 8145708ae5 Merge remote-tracking branch 'cgal/6.0.x-branch'
Conflicts:
	STL_Extension/include/CGAL/Compact_container.h
	STL_Extension/include/CGAL/Concurrent_compact_container.h
2025-05-30 12:27:15 +02:00
Sébastien Loriot 048e8d9592 fix semantic change 2025-05-20 20:00:54 +02:00
Laurent Rineau a94a768c04 refactor write_MEDIT
... and use it more in CDT_3 examples
2025-05-20 16:49:02 +02:00
Laurent Rineau 4b029e69bd Merge branch 'CGAL:master' into Triangulation_3-CDT_3-lrineau 2025-05-13 17:14:39 +02:00
Sébastien Loriot c1f034312d hide non-const version of the function in the doc 2025-05-12 14:31:43 +02:00
Sebastien Loriot c6197a96bc
add a version with move
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2025-05-07 09:12:07 +02:00
Laurent Rineau 05dd421eb0 leftovers after the renaming of Base_with_time_stamp
see commit e1ff8c1773902548350380f7b258c1b218609e30
2025-05-06 17:03:06 +02:00
Jane Tournois b9fd8a3b8e rename Base_with_time_stamp to Triangulation_simplex_base_with_time_stamp 2025-05-02 14:44:36 +02:00
Jane Tournois 9c58f6c900 add c3t3.set_triangulation()
that internally calls rescan_after_load_of_triangulation()
it avoids calling it explicitly or documenting it,
but fixes the issue of updating the internal metadata of C3t3 automatically
2025-04-25 10:40:37 +02:00
Sébastien Loriot 6257109821 Merge remote-tracking branch 'cgal/6.0.x-branch' 2025-03-24 11:55:32 +01:00
Sebastien Loriot 6a2c2752c2
SMDS: Allow whitespace in the line (#8793)
## Summary of Changes

Make the function `read_MEDIT()`  more tolerant.

TODO:
- [ ] Add tests

## Release Management

* Affected package(s): SMDS_3
* License and copyright ownership:  unchanged
2025-03-24 11:53:52 +01:00
Andreas Fabri 648b2bf004 SMDS: Allow whitespace in the line 2025-03-20 16:52:02 +01:00
Sébastien Loriot 652f35794d restore coherant orientation of faces 2025-03-20 10:53:53 +01:00
Laurent Rineau 2bd90e5d9c fix issue #8773 "c3t3 -> binary -> c3t3 -> vtu writes invalid vtu files"
When a c3t3 is loaded, its far vertices were not loaded correctly.
2025-03-10 17:12:41 +01:00
Sébastien Loriot 043becfe7f Merge pull request #8273 from lrineau/CGAL-followup_PR_8170-lrineau
Improvement backports from CDT_3 branch (Follow-up to PR #8170)
2025-02-12 19:43:35 +01:00
Laurent Rineau fad5e30a54 initialize to -2, to use the debugging assertions 2025-01-31 18:09:07 +01:00
Sébastien Loriot eb0da467ed always init time_stamp to -1 2025-01-24 11:08:34 +01:00
Laurent Rineau 796190863c derive Ct_plus_2 from the hierarchy
Instead of storing the hierarchy as a data member, store it
as a hidden (protected) base class. That allows to forward
member functions easily with using-declarations. That also avoids
mismatches between the names in the triangulation and the hierarchy.
2025-01-23 17:51:53 +01:00
Laurent Rineau c10dcf7daf allow to call save_binary_file on non-C3t3 type (like a CDT_3) 2024-06-10 18:18:59 +02:00
Laurent Rineau 342d30fd90 Revert "cosmetic change"
This reverts commit 612d6e3f59.
2024-05-23 13:03:53 +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 1289cadc7a fix iterators types in c3t3 2024-05-21 18:01:11 +02:00
Laurent Rineau e96aaf37ad Merge branch 'master' into pr/afabri/7410 2024-05-17 23:03:55 +02:00
Laurent Rineau 612d6e3f59 cosmetic change 2024-04-26 16:10:23 +02:00
Laurent Rineau cc5fdfb7d0 remove CGAL::cpp17, useless now that CGAL requires C++17 2024-04-26 16:10:23 +02:00
Laurent Rineau 56054ce7d9 fix io_signature issue 2024-04-26 16:10:23 +02:00
Jane Tournois 4d85eb07de attempt to fix "possibly dangling reference" warning 2024-04-04 12:58:32 +02:00
Jane Tournois a1ea441e3c Merge remote-tracking branch 'cgal/master' into Tet_remeshing-with_sizing_field-jtournois
# Conflicts:
#	Tetrahedral_remeshing/include/CGAL/Tetrahedral_remeshing/internal/tetrahedral_adaptive_remeshing_impl.h
#	Tetrahedral_remeshing/include/CGAL/tetrahedral_remeshing.h
2024-03-26 15:38:20 +01:00
Laurent Rineau bffa8f213e Merge pull request #8072 from janetournois/Mesh_3-use_one_step_loop-jtournois
Mesh_3 - fix mesher using the `one_step()` loop

# Conflicts:
#	Mesh_3/include/CGAL/Mesh_3/Triangulation_helpers.h
2024-03-26 10:21:00 +01:00
Jane Tournois 369cfb6a37 full iterator types for P3M3 2024-03-21 17:08:53 +01:00
Jane Tournois 552c37a1bc clean types and improve readability 2024-03-18 17:26:30 +01:00
Jane Tournois 18dd164769 fix clear_cells_and_facets_from_c3t3()
we actually need to clear C3T3 from all facets and cells, including the infinite ones.
Indeed, extra point insertions during (e.g.) the initialization step may have made
invalid the metadata in all cells, including the infinite ones
2024-03-14 16:48:05 +01:00
Jane Tournois 85da35de60 Merge remote-tracking branch 'cgal/master' into Tet_remeshing-with_sizing_field-jtournois 2024-02-22 11:25:20 +00:00
Laurent Rineau 2ff279bb99 Merge pull request #7971 from lrineau/SMDS_3-fix_read_MEDIT-GF
Mesh_3/SMDS_3: Fix reading of .mesh files
2024-01-24 16:01:46 +01:00
Laurent Rineau 885647fe4c fix for when the line is empty 2024-01-19 15:17:04 +01:00
Laurent Rineau c539c5657c fix when reading on Linux a .mesh file produced by Windows 2024-01-17 09:56:39 +01:00
Jane Tournois d375cec708 add case std::variant<T> to io_signature.h 2024-01-16 18:33:02 +01:00
Laurent Rineau 074a337e88 Mesh_3/SMDS_3: Fix reading of .mesh files
With a `.mesh` containing `Triangles` in a comment, like that one:

```
MeshVersionFormatted 1

Dimension
3

Vertices
121
-10.0402  -10.0402  -10.0402    0
-10  10  10    0
10  10  10    0
[...]
Triangles
609
     98     76     65    0
     98     81     76    0
     65     81     98    0
Tetrahedra
244
     81     65     76     98  0
     28      1     37     34  0
     69     25     70     94  0
[...]
End
```

then the code failed. It read `Triangles` as the beginning of the triangles section.

The commit use `std::getline()` to read the comments and the keywords:
- `Vertices`
- `Triangles`
- `Tetrahedra`
2024-01-11 11:35:05 +01:00
Sébastien Loriot 8700394122 boost::mpl::if_ -> std::conditional 2023-09-24 22:57:20 +02:00
Laurent Rineau aa09a28df8 Merge remote-tracking branch 'cgal/master' into STL_extension-Fix_Prevent_deref-GF 2023-09-19 16:22:49 +02:00
Mael Rouxel-Labbé e2832dfe6d Merge remote-tracking branch 'cgal/master' into SMDS_3-Fix_stack-GF 2023-09-07 15:59:04 +02:00
Mael Rouxel-Labbé cdb0a1c154 Merge remote-tracking branch 'cgal/master' into SMDS_3-Fix_stack-GF 2023-09-05 13:51:01 +02: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