Commit Graph

6094 Commits

Author SHA1 Message Date
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
Sébastien Loriot 04be232d14 update to macro update 2023-11-16 09:37:40 +01:00
Laurent Rineau 69d9025736 Merge pull request #6760 from hoskillua/gsoc2022
GSoC2022 - Interpolated Corrected Curvatures

# Conflicts:
#	Installation/CHANGES.md
2023-11-15 16:00:36 +01:00
Sébastien Loriot c7be554c0f update after rebase 2023-11-13 16:08:42 +01:00
Sébastien Loriot 724c1f0552 remove TODO added in an issue 2023-11-13 15:22:12 +01:00
Sébastien Loriot 4c315c1ff8 fixes after review 2023-11-13 15:18:26 +01:00
Sébastien Loriot 4344c3cc27 replace boost::mpl::or_ 2023-11-10 16:34:19 +01:00
Puneet Matharu 7944441068 Patch usage of BUILD_TESTING to handle the case that CGAL is a subproject. 2023-11-02 18:09:03 +00:00
Sébastien Loriot 08b25d8778 prevent a warning with older versions of TBB 2023-11-02 16:09:05 +01:00
Sébastien Loriot ca0f9acbe0 Merge remote-tracking branch 'cgal/5.6.x-branch' 2023-10-25 17:43:16 +02:00
Sébastien Loriot 15a8dbf7d9 Merge remote-tracking branch 'cgal/5.5.x-branch' 2023-10-25 17:42:37 +02:00
Sébastien Loriot f2ec9175ac prevent the removal boundary edges (that are constraints) 2023-10-23 14:41:46 +02:00
Sebastien Loriot 9f9a6f600f Apply suggestions from code review
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-10-23 09:07:43 +02:00
Sebastien Loriot fe28c0d64a
doc bugs
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-10-20 11:46:39 +02:00
Sébastien Loriot 08fa9f8a58 fix wording 2023-10-20 08:57:07 +02:00
Andreas Fabri ff2d8b49b2 PMP: Remove doc of deprecated code 2023-10-19 13:36:45 +01:00
Sebastien Loriot e6b84d4851
typo
Co-authored-by: Jane Tournois <janetournois@users.noreply.github.com>
2023-10-18 10:19:23 +02:00
Sébastien Loriot 7d2de68d1c add missing include directive 2023-10-09 16:55:57 -07:00
Sébastien Loriot dbd706a3f4 remove remaining see also 2023-10-09 09:14:05 +02:00
Sébastien Loriot a193a1d8fb implement comments from review 2023-10-09 09:08:31 +02:00
Sébastien Loriot df0e0ee9bb implement comments from review 2023-10-09 08:50:17 +02:00
Sébastien Loriot 584771e6a7 rename 2023-10-09 05:34:55 +02:00
Sebastien Loriot fb3623cfa9
Apply suggestions from code review
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-10-09 05:10:30 +02:00
Andreas Fabri 42b5aab4b1 Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/refine_mesh_at_isolevel.h 2023-10-03 11:54:16 +02:00
Sébastien Loriot 7d12160e18 update doc 2023-10-03 11:52:04 +02:00