Commit Graph

4738 Commits

Author SHA1 Message Date
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 241e1bf557 add missing license include directives 2024-01-04 11:53:18 +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
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 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
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
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 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
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 d75e4f2f54 Merge remote-tracking branch 'cgal/master' into PMP-BF_autorefine 2023-12-08 13:26:06 +01:00
hoskillua 0e60f7cb77 moving average_edge_length to measure 2023-12-08 09:16:35 +03:00
Sébastien Loriot dc04e5baa5 use doxygen macro 2023-12-07 11:30:17 +01: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
Sébastien Loriot 16de47d1e6 more fixes 2023-11-23 14:55:30 +01: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 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 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 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 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 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 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 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
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
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
Sébastien Loriot e1dd8c8a51 add doc 2023-09-30 08:41:58 +02:00
Sébastien Loriot 05e11d381f add experimental function to refine a mesh along an isocurve 2023-09-30 08:41:58 +02:00
Sébastien Loriot 8700394122 boost::mpl::if_ -> std::conditional 2023-09-24 22:57:20 +02:00
Sébastien Loriot a54e024a32 start adding dynamic property maps with default
WIP: need updates in all models of face graph
2023-09-13 17:59:52 +02:00
Sébastien Loriot af95dae8c6 Merge remote-tracking branch 'cgal/master' into HEAD 2023-09-12 15:27:54 +02:00