Commit Graph

4768 Commits

Author SHA1 Message Date
Andreas Fabri b70a736083 Replace deprecated classes 2024-03-05 07:20:28 +00:00
Andreas Fabri eb49100a96 Replace deprecated classes 2024-03-05 07:08:51 +00:00
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 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
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
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
Laurent Rineau 47324c1f1c Merge pull request #7919 from hoskillua/icc-todos
Interpolated Curvature remaining TODOs
2024-01-24 16:02:00 +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
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