Commit Graph

156 Commits

Author SHA1 Message Date
Jane Tournois 369cfb6a37 full iterator types for P3M3 2024-03-21 17:08:53 +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
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
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
Jane Tournois d77935f496 replace ofstream by ostringstream 2023-10-31 11:50:42 +01:00
Laurent Rineau 08938cf326 Merge pull request #7480 from rdengate/appended_data_tag
Add missing AppendedData closing tag, so vtu binary file contains valid xml
2023-06-05 15:10:07 +02:00
Rebecca Dengate fb9f59d3a9 Adds missing AppendedData closing tag, so vtu binary file contains valid xml. 2023-05-30 16:35:10 +10:00
Mael 532b82cb9b
Merge branch 'master' into P3M3-Undocumented_polyhedral_domain_example-GF 2023-05-04 17:28:47 +02:00
Laurent Rineau d2bc415a15 Merge pull request #6950 from lrineau/CGAL-allow_Epick_with_float-GF
Simple_precision_epick: an Epick-like kernel with float as FT
2023-05-04 16:37:17 +02:00
Laurent Rineau 1dce90ee79 Merge remote-tracking branch 'cgal/master' into CGAL-allow_Epick_with_float-GF 2023-04-07 10:59:51 +02:00
Mael Rouxel-Labbé cd0c81a98a Merge remote-tracking branch 'cgal/master' into P3M3-Undocumented_polyhedral_domain_example-GF 2023-03-20 10:14:27 +01:00
albert-github 2d60f46985 issue #7231 Improvement of layout of refines relations.
- Adjusted cgalRefines according to reviews
- Implemented it in all files
2023-03-14 17:37:50 +01:00
Laurent Rineau 35a1285a12 Merge pull request #6129 from janetournois/Mesh_3-triple_line_extraction-GF
Mesh_3 - add detection of intersection lines from labeled images

# Conflicts:
#	Installation/CHANGES.md
2023-03-13 16:46:07 +01:00
Laurent Rineau 5a20fd8567 Merge pull request #7238 from albert-github/feature/bug_author_consistency
Making description of author(s)  of a package consistent
2023-02-24 16:14:43 +01:00
Jane Tournois e8e3eaa7b4 Merge remote-tracking branch 'cgal/master' into Mesh_3-triple_line_extraction-GF
# Conflicts:
#	Mesh_3/test/Mesh_3/CMakeLists.txt
2023-02-21 11:05:30 +01:00
Jane Tournois 9591cd6a94 vertices of 0 < dimension < 2 are removed as isolated
* corners and feature edges vertices are not removed (0 < dim < 2)
* far points (dim = -1) are removed as isolated vertices

the assertion
CGAL_assertion(far_vertices_.size() <= isolated.size());
started failing because of commit
3490fdd0c0
2023-02-07 11:39:53 +01:00
albert-github 57e900b47c Making description of author(s) of a package consistent
- use `\cgalPckAuthor` in case of one author
- use of `\cgalPckAuthors` in case of multiple authors
- using in case of multiple authors always `, and `
- in the 1.9.6 `BaseDoxyfile.in` let the `\cgalPckAuthors` point to `\cgalPckAuthor` to get consistent output (not done for other versions as in the past the `ALIASES` could not call one another).
2023-02-02 18:40:44 +01:00
Sébastien Loriot 9e137bca24 Merge 'cgal/master' 2023-01-31 12:26:55 +01:00
Mael 153c603209
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2023-01-27 22:09:02 +01:00
Mael 8f703b54cb
Merge branch 'master' into P3M3-Undocumented_polyhedral_domain_example-GF 2023-01-27 21:48:32 +01:00
Laurent Rineau fc61b42864 Merge pull request #6858 from sloriot/Doc-exclude_internal
Ignore internal directories
2023-01-27 21:02:29 +01:00
Laurent Rineau 7255c885bd Merge pull request #7139 from janetournois/SMDS_3-verbose_mode-jtournois
Tet_soup_to_c3t3 - reduce verbosity
2023-01-27 21:02:19 +01:00
Jane Tournois b7cd0f8538 doc
we keep vertices of dimension 0 and 1,
that may have a meaning for the user
2023-01-20 16:14:49 +01:00
Jane Tournois 3490fdd0c0 do not remove vertices of features (dimension 1 and 0) even if isolated
if the user has asked to insert these vertices, they should not be removed
2023-01-20 14:17:47 +01:00
Mael 4d22c90474
Merge branch 'master' into feature/bug_documentation_spell_20221113 2023-01-04 10:06:45 +01:00
Jane Tournois 2d04633e20 add if(verbose) when needed 2022-12-22 09:35:09 +01:00
Sébastien Loriot 069e43a5da remove specific internal exclude list (covered with the general one) 2022-12-15 10:20:45 +01:00
Laurent Rineau cf04d506f3 Merge PR "Mesh_3, dump_c3t3: remove verbose flag" #7110 2022-12-14 10:28:21 +01:00
Mael 0ff7882997
Merge branch 'master' into feature/bug_documentation_spell_20221113 2022-12-06 22:21:06 +01:00
Mael Rouxel-Labbé b115a680bf Merge remote-tracking branch 'cgal/master' into P3M3-Undocumented_polyhedral_domain_example-GF 2022-12-06 09:47:46 +01:00
Mael 6538b22e06
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2022-12-05 16:03:41 +01:00
Mael Rouxel-Labbé 7789d060fb Minor code cleaning 2022-11-29 12:14:31 +01:00
Mael Rouxel-Labbé cf2b3cb4f1 Add some named parameters to read_MEDIT 2022-11-29 12:13:57 +01:00
Mael Rouxel-Labbé 0ae5cc28f9 medit IO improvements 2022-11-25 16:37:09 +01:00
Mael Rouxel-Labbé b5c21e1f5d Http -> https + update some dead links 2022-11-23 18:54:37 +01:00
Mael Rouxel-Labbé b10b84fb7f Merge remote-tracking branch 'cgal/master' into P3M3-Undocumented_polyhedral_domain_example-GF 2022-11-18 16:47:07 +01:00
albert-github eed54a0ae5 spelling corrections
Some spelling corrections (Directories starting with `O`-`S` , first part),
some backward work
some forward work
2022-11-15 18:45:39 +01:00
albert-github 45478184de spelling corrections
Some spelling corrections (Directories starting with `E`-` L`),
some backward work
some forward work
2022-11-15 13:39:40 +01:00
Laurent Rineau 92d8d1c805 Merge remote-tracking branch 'cgal/master' into CGAL-allow_Epick_with_float-GF
# Conflicts:
#	Mesh_3/test/Mesh_3/test_meshing_3D_image.cpp
2022-11-08 12:11:06 +01:00
Laurent Rineau 8c9281f440 Merge pull request #6642 from sloriot/gsoc2022-boost_np
Replace usage of Boost parameters with CGAL named function parameters
2022-11-07 10:08:38 +01:00
Laurent Rineau d24b180293 Merge branch 'master' into gsoc2022-boost_np 2022-10-28 15:39:36 +02:00
Mael Rouxel-Labbé cb83e20ac7 Add a more generic check for non-manifoldness (it can be more than 4 inc cells) 2022-10-26 21:54:12 +02:00
Mael Rouxel-Labbé 9894286837 Fix returning failure if non-manifoldness is present but allowed 2022-10-26 21:53:40 +02:00
Mael Rouxel-Labbé 2a851b7ec4 Rename some variables / functions for clarity 2022-10-26 21:52:55 +02:00
Mael Rouxel-Labbé 3e2c8e0806 Fix debug messages not living behind a verbosity check 2022-10-26 21:50:42 +02:00
Mael Rouxel-Labbé ab360497ac Use a more generic way of getting the inf vertex position for clarity 2022-10-26 21:49:40 +02:00
Mael Rouxel-Labbé 41641086e0 Do not print "Error" if non-manifoldness is allowed
And clarify when this can happen
2022-10-26 21:49:31 +02:00
Mael Rouxel-Labbé 6852ad11ab Use emplace() / emplace_back() 2022-10-26 21:48:20 +02:00
Mael Rouxel-Labbé d30b5c1a7f Indentation fixes 2022-10-26 21:47:37 +02:00