Jane Tournois
c074187836
Merge branch 'PMP-add_bbox_to_face_graph-jtournois' of https://github.com/janetournois/cgal into PMP-add_bbox_to_face_graph-jtournois
2024-03-04 16:05:56 +00:00
Jane Tournois
1fc30afde7
doc simplified (similar to most functions of PMP)
2024-03-04 17:05:08 +01:00
Jane Tournois
685f6e7f84
create an overload of CGAL::make_hexahedron for Iso_cuboid_3
2024-03-04 17:04:06 +01:00
Jane Tournois
272beb678a
move scaling to CGAL::Bbox_3
2024-03-04 16:08:10 +01:00
Laurent Rineau
820465a556
Merge pull request #8023 from sloriot/PMP-soup_autoref_insert_in_edge
...
Autorefinement: insert points in edge to avoid filter failures
2024-02-28 10:57:25 +01:00
Sébastien Loriot
910945eb5f
undo dependency changes + always use core if not disabled
2024-02-27 16:19:28 +01:00
Sébastien Loriot
3b30756cd3
do not depend on CGAL_Core
2024-02-27 14:46:18 +01:00
Sébastien Loriot
67b330bd5a
do no iterate on a container you modify
2024-02-26 17:45:06 +01:00
Sébastien Loriot
08ab32e14a
missing references
2024-02-26 14:23:09 +01:00
Sébastien Loriot
7a11b642fb
Revert "get rid of extra container"
...
This reverts commit a57800ce07 .
points vector of Triangle_data can be updated when intersecting
new intersection points. If the container is used at the same time
by another thread calling generate_subtriangles, the container might
be in an invalid state while resizing it.
2024-02-26 14:22:46 +01:00
Andreas Fabri
e4558a4d4b
Merge branch 'master' into CORE-boost_mp_number-GF
2024-02-23 17:04:37 +01:00
Laurent Rineau
053a2b3b81
Merge pull request #8010 from afabri/CGAL-change_include_order-GF
...
Change inclusion order to check dependencies
2024-02-22 10:23:02 +01:00
Laurent Rineau
5c5bb0477f
Merge pull request #8032 from sloriot/PMP-locate_path
...
Fix invalid path
2024-02-16 18:03:06 +01:00
Sébastien Loriot
a57800ce07
get rid of extra container
2024-02-16 12:12:19 +01:00
Sébastien Loriot
5cae5340e9
remove TODO that are not
2024-02-16 11:48:15 +01:00
Sébastien Loriot
7aa4f37b6b
rename macro
2024-02-16 11:39:09 +01:00
Sébastien Loriot
916282e164
fix invalid path
2024-02-14 14:22:47 +01:00
Jane Tournois
cb07b0f545
use midpoint from GT (and add precondition on factor)
2024-02-13 15:04:43 +01:00
Jane Tournois
83e80c91e9
doc
2024-02-13 13:48:24 +01:00
Jane Tournois
c23db551f3
make bbox really tight when factor is 1.
2024-02-13 11:50:10 +01:00
Jane Tournois
6191f7de3c
use split_face() instead of triangulate_faces()
...
and remove dependency on T2
2024-02-13 10:31:26 +01:00
Jane Tournois
b48760af26
use do_not_triangulate_faces
...
a NP that already existed before this PR
2024-02-12 17:08:46 +01:00
Jane Tournois
801d7822c6
doc
2024-02-12 16:39:54 +01:00
Jane Tournois
6ed6aa681a
improve add_bbox using make_hexahedron and Iso_cuboid_3
2024-02-12 16:32:52 +01:00
Jane Tournois
62b8e8fb6f
new function add_bbox(face_graph) that adds bbox to face graph
...
the bbox can be :
* triangulated or not
* tight or not
2024-02-06 12:13:03 +01:00
Andreas Fabri
5b187bd79d
Provide a fix for distance.h
2024-01-31 11:10:00 +00:00
Andreas Fabri
7d7b080842
PMP: Change inclusion order to check dependencies
2024-01-31 09:39:45 +00:00
Laurent Rineau
47324c1f1c
Merge pull request #7919 from hoskillua/icc-todos
...
Interpolated Curvature remaining TODOs
2024-01-24 16:02:00 +01:00
Sebastien Loriot
128b169b24
Fixes when neither LEDA nor GMP is available ( #7960 )
2024-01-19 13:57:12 +01:00
Sébastien Loriot
6b40f5b189
restore axis aligned projection traits
2024-01-19 12:03:40 +01:00
Andreas Fabri
f520602a0d
Comment #warning and qualify get() with std::
2024-01-19 11:47:05 +01:00
Sébastien Loriot
272a242f1b
restore delaunay in CDT + autoref and deduplicate identical points in no segments case
2024-01-19 11:47:05 +01:00
Sébastien Loriot
0095748cd7
insert points directly on edges
2024-01-19 11:47:04 +01:00
Sébastien Loriot
81d2938910
collect on-edge information and do not collect segments on the same edge
2024-01-19 11:47:04 +01:00
Sébastien Loriot
61461b14b3
more debug and fix indices
2024-01-19 11:47:04 +01:00
Sébastien Loriot
3b003535c7
WIP
2024-01-19 11:47:04 +01:00
Sebastien Loriot
fc66579029
PMP/soup_autorefinement.cpp: Make sure we can read the file before continuing ( #7974 )
2024-01-19 11:43:14 +01:00
Laurent Rineau
b4f360f952
Merge pull request #7962 from sloriot/CGAL-header_fixes
...
Fix license issues
2024-01-11 12:45:40 +01:00
Sébastien Loriot
d4a36120d8
make sure we can read the file
2024-01-11 09:31:15 +01:00
hoskillua
a18b258624
typo
2024-01-06 21:00:10 +03:00
hoskillua
4f809743f6
user man table typo
2024-01-06 19:44:37 +03:00
hoskillua
389b4c1809
table classes removed
2024-01-06 19:29:05 +03:00
hoskillua
5cf55e5df6
unsupported tags fix
2024-01-06 16:06:12 +03:00
hoskillua
df09c6894e
Performance
2024-01-06 15:43:19 +03:00
hoskillua
6b6d55d03a
note about jet fitting package in user man
2024-01-06 12:36:44 +03:00
Sébastien Loriot
241e1bf557
add missing license include directives
2024-01-04 11:53:18 +01:00
Sebastien Loriot
7139a34f44
hide non used header
2024-01-04 10:20:16 +01:00
Sébastien Loriot
1b0447eab7
EPECK_with_sqrt is actually disabled
2024-01-03 18:36:34 +01:00
Sébastien Loriot
9985f9cfa0
autorefinement has its own license file
2024-01-02 14:06:59 +01:00
Sebastien Loriot
caecbe29c7
Replace boost::mpl ( #7813 )
...
- `boost::mpl::if_` --> `std::conditional`
- `boost::enable_if` -> `std::enable_if`
- `boost::mpl::and_` -> `&&`
- `boost::mpl::or_` -> `||`
- `boost::constant::bool_` -> `std::bool_constant`
- ...
2023-12-26 17:33:36 +01:00
Sébastien Loriot
6eff89bbc8
Merge pull request #7614 from sloriot/PMP-BF_autorefine
...
Add autorefine for triangle soup
2023-12-26 12:11:04 +01:00
hoskillua
bd915f7a16
added a comment about ball radius to user doc
2023-12-22 15:15:44 +03:00
Sébastien Loriot
89d3d74865
Merge remote-tracking branch 'cgal/5.6.x-branch'
2023-12-18 13:31:48 +01:00
Sébastien Loriot
ee1fa58406
Merge remote-tracking branch 'cgal/5.5.x-branch'
2023-12-18 13:31:06 +01:00
Sebastien Loriot
f798df19a5
document the thread-safety requirement of output iterators ( #7924 )
2023-12-18 13:25:56 +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
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
ee1d222d45
double -> int
2023-12-13 07:35:53 +00: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
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
d0c224fafb
handle some todos
2023-12-11 16:09:55 +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
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
Laurent Rineau
0ccf0745ec
Merge pull request #7914 from sloriot/PMP-remesh_planar_faces_missing_remove_const
...
PMP remesh_planar_patches: handle const meshes
2023-12-11 13:54:43 +01:00
Laurent Rineau
274efd39ac
Merge pull request #7917 from afabri/PMP-concurrentIO-GF
...
PMP: Write into different files to avoid concurrent writing
2023-12-11 13:54:41 +01:00
Laurent Rineau
d380a34297
Merge pull request #7914 from sloriot/PMP-remesh_planar_faces_missing_remove_const
...
PMP remesh_planar_patches: handle const meshes
2023-12-11 13:48:10 +01:00
Laurent Rineau
7cfba8f54c
Merge pull request #7917 from afabri/PMP-concurrentIO-GF
...
PMP: Write into different files to avoid concurrent writing
2023-12-11 13:48:04 +01:00
Sébastien Loriot
f36bdda9fe
doc thread-safety of output iterators
2023-12-11 13:42:54 +01:00
Sébastien Loriot
93a1549c65
used typedef
2023-12-11 11:34:42 +01:00
Sébastien Loriot
8d0a047685
remote debug code and abandonned alternatives
2023-12-08 14:22:41 +01:00
Sébastien Loriot
e352f2b17c
fix doc
2023-12-08 13:27:04 +01:00
Sébastien Loriot
d75e4f2f54
Merge remote-tracking branch 'cgal/master' into PMP-BF_autorefine
2023-12-08 13:26:06 +01:00
Sébastien Loriot
9ac0ef686f
aspell check
2023-12-08 13:24:55 +01:00
Sébastien Loriot
d620bcd61a
user manual
2023-12-08 13:20:23 +01:00
Sébastien Loriot
bcdc0f9f92
remove non needed include
2023-12-08 11:45:25 +01:00
hoskillua
0e60f7cb77
moving average_edge_length to measure
2023-12-08 09:16:35 +03:00
hoskillua
5e0a4cabe8
minor typo in user man
2023-12-08 09:04:49 +03:00
hoskillua
09902686dc
minor user man addition
2023-12-08 09:00:46 +03:00
Sebastien Loriot
96955790a1
typo
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-12-07 11:57:42 +01:00
Sébastien Loriot
7aab407b8c
add user friendly use case
2023-12-07 11:32:17 +01:00
Sébastien Loriot
dc04e5baa5
use doxygen macro
2023-12-07 11:30:17 +01:00
Andreas Fabri
f0426b8aa6
PMP: Write into different files to avoid concurrent writing
2023-12-07 09:33:31 +00:00
Sébastien Loriot
63556d4faa
use explicitly const meshes
2023-12-06 15:50:14 +01:00
Sébastien Loriot
560f02c921
add missing remove_const
2023-12-06 15:29:17 +01:00
Sébastien Loriot
c7ab2ba750
fix include
2023-11-30 09:54:27 +01:00
Sebastien Loriot
a207e3af2e
wrong header
...
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-11-30 09:35:56 +01:00
Sébastien Loriot
fd37bc3a16
add missing include
2023-11-30 09:25:04 +01:00
Sébastien Loriot
bef0339671
fixes for edges entirely on the isoline
2023-11-29 17:43:17 +01:00
Laurent Rineau
95b83b1214
Merge pull request #7845 from puneetmatharu/patch-cgal-dont-override-build-testing
...
Patch usage of BUILD_TESTING to handle the case that CGAL is a subproject
2023-11-29 17:22:54 +01:00
Sébastien Loriot
16de47d1e6
more fixes
2023-11-23 14:55:30 +01:00
Andreas Fabri
dac83a5717
PMP examples: unify type names
2023-11-22 15:11:11 +00:00
Sébastien Loriot
fe32ee586e
at Eigen dependency
2023-11-20 11:36:06 +01:00
Sébastien Loriot
37fb95b5cd
improve concept
2023-11-20 11:28:50 +01:00
Sébastien Loriot
730bbba98b
add an example with a dummy custom sizing field
2023-11-20 10:03:16 +01:00
Sébastien Loriot
38482e8aa3
remove todo
...
There will not be any crash as the value for new vertices
is always set. However with Polyhedron since we don't reuse
vertices, the map size might get large. Surface_mesh is fine
2023-11-16 17:28:23 +01:00
Sébastien Loriot
7328ed7fff
remove useless (and potentially dangerous) default
2023-11-16 12:00:22 +01:00
Sébastien Loriot
4d834098b8
Merge remote-tracking branch 'cgal/master' into HEAD
2023-11-16 10:39:31 +01:00
Sébastien Loriot
4c7bc4cbae
fix after rebase
2023-11-16 09:43:35 +01:00
Jane Tournois
1e138a011b
fix compilation
2023-11-16 09:37:41 +01:00
Sébastien Loriot
e4f9a57914
do not use deprecated API
2023-11-16 09:37:41 +01:00
Sébastien Loriot
75303ad910
fix compilation errors
2023-11-16 09:37:41 +01:00
Ivan Pađen
4b9bd778ef
Apply suggestions from code review
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-11-16 09:37:41 +01:00
Sébastien Loriot
1dbd8c281d
make it pure virtual
2023-11-16 09:37:41 +01:00
Ivan Pađen
904c10016a
Add sizing.at function to the PMPSizingField and other sizing classes
2023-11-16 09:37:41 +01:00
Ivan Pađen
dc36eb88a7
Apply suggestions from code review
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
c41a0e38c2
Merge two tangential relaxation functions into one
2023-11-16 09:37:41 +01:00
Sébastien Loriot
618fb4b027
explicit template parameter to avoid ambiguity
2023-11-16 09:37:41 +01:00
Sébastien Loriot
6a4dbe5b59
fix copy/paste error
2023-11-16 09:37:41 +01:00
Ivan Pađen
627a36fac7
Combining tangential relaxations in one function WIP
2023-11-16 09:37:41 +01:00
Sébastien Loriot
e885155c22
fix warnings
2023-11-16 09:37:41 +01:00
Ivan Pađen
740648622f
Attempt to combine tangential realxations into overload
2023-11-16 09:37:41 +01:00
Ivan Pađen
ace77795a3
Apply suggestions from code review
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
faaeba8466
Use interpolated_corrected_curvatures() with vertex property map
2023-11-16 09:37:41 +01:00
Ivan Pađen
e9aa5b9b3b
Replace vpmap constructor with np in Adaptive_sizing_field
2023-11-16 09:37:41 +01:00
Ivan Pađen
3b4af4be31
Update the sizing field updating function
2023-11-16 09:37:41 +01:00
Ivan Pađen
6b37280a0b
Make is_too_short() and is_too_long() return edge-to-target ratio
2023-11-16 09:37:41 +01:00
Ivan Pađen
dfc2390d71
Move Sizing_field_base to internal
2023-11-16 09:37:41 +01:00
Ivan Pađen
98c64c3513
Update is_too_long to work only with vertex descriptors
2023-11-16 09:37:41 +01:00
Ivan Pađen
5c093c2491
Fix doc issue
2023-11-16 09:37:41 +01:00
Ivan Pađen
178d967d4b
Apply suggestions from code review
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
7b7dfa2e0a
Update Polygon_mesh_processing/doc/Polygon_mesh_processing/Concepts/PMPSizingField.h
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
21f6580d64
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/remesh.h
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
e49789b3d5
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/remesh.h
...
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
bde55d8e4c
Update docs
2023-11-16 09:37:41 +01:00
Ivan Pađen
99f8120e5b
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/Adaptive_sizing_field.h
...
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
1e1eb19a5b
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/Uniform_sizing_field.h
...
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
65c75c5d43
Update data type
2023-11-16 09:37:41 +01:00
Ivan Pađen
896e4913ff
Update authors
2023-11-16 09:37:41 +01:00
Ivan Pađen
64af00b2ad
Fix formatting
2023-11-16 09:37:41 +01:00
Ivan Pađen
20a735cc59
Update Polygon_mesh_processing/test/Polygon_mesh_processing/remeshing_quality_test.cpp
...
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
7cb3a58185
Update Polygon_mesh_processing/test/Polygon_mesh_processing/remeshing_quality_test.cpp
...
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-11-16 09:37:41 +01:00
Ivan Pađen
959311048b
Fix Adaptive_sizing_field template issue
2023-11-16 09:37:40 +01:00
Ivan Paden
28ac57e751
Fix for a failing MVSC test
2023-11-16 09:37:40 +01:00
Ivan Paden
7128ef9ea6
Add STL 'limits' include to address the failing test
2023-11-16 09:37:40 +01:00
Ivan Paden
324f133125
Update removed arguments
2023-11-16 09:37:40 +01:00
Sébastien Loriot
1d21d57f27
remove no longer used parameter
2023-11-16 09:37:40 +01:00
Sébastien Loriot
230de52aaf
remove unused variables
2023-11-16 09:37:40 +01:00
Ivan Paden
0481c624e2
Cleanup the example
2023-11-16 09:37:40 +01:00
Ivan Paden
12cc789f33
Remove temp todos
2023-11-16 09:37:40 +01:00
Ivan Paden
4d06df0622
Move Sizing_field_base one directory down
2023-11-16 09:37:40 +01:00
Ivan Paden
42c02d9e34
Add constructor with VPMap input in Adaptive_sizing_field
2023-11-16 09:37:40 +01:00