Commit Graph

6535 Commits

Author SHA1 Message Date
Sven Oesau 65be6133d8 removing deprecated AABB types 2024-03-26 15:56:45 +01:00
Sebastien Loriot a42ffdec11
Merge branch 'master' into CORE-boost_mp_number-GF 2024-03-26 00:27:22 +01:00
Sébastien Loriot 37b16ab656 fix warnings 2024-03-25 16:32:44 +01:00
Sébastien Loriot 8b649551be fix compilation issues
mostly due to change of function name
2024-03-25 16:30:50 +01:00
Sébastien Loriot 38339b7e4e Merge remote-tracking branch 'cgal/master' into HEAD 2024-03-25 16:14:08 +01:00
Sébastien Loriot baf084950b use default value for dynamic maps 2024-03-25 11:05:55 +01:00
Sébastien Loriot 12c80ac512 Merge remote-tracking branch 'cgal/master' into HEAD 2024-03-25 10:21:41 +01:00
Mael Rouxel-Labbé 5e38ed54df Fix double "Figure" in doc 2024-03-22 17:33:43 +01:00
Laurent Rineau 7a17b47d9f Merge pull request #8052 from afabri/Polygon-exact_area-GF
Polygon: Avoid stackoverflow when summing exact numbers

# Conflicts:
#	Polygon/include/CGAL/Polygon_2_algorithms.h
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
2024-03-22 09:18:07 +01:00
Laurent Rineau 9f96166d44 Merge branch '5.5.x-branch' into 5.6.x-branch
# Conflicts:
#	Polygon/include/CGAL/Polygon_2_algorithms.h
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
2024-03-22 09:09:57 +01:00
Sébastien Loriot b855194fba add missing include directive 2024-03-15 09:20:44 +01:00
Mael Rouxel-Labbé c984e0e08a Fix using the mesh point when the SotM is built from a tree 2024-03-14 11:05:23 +01:00
Andreas Fabri a42d56fc67 Add several #include 2024-03-14 10:09:07 +01:00
Sébastien Loriot f34745c4d8 use a functor for collapsing the DAG to not depend on Filtered_kernel
nor inclusion order
2024-03-14 10:02:30 +01:00
Andreas Fabri 19725c0b08 Fix PMP testsuite 2024-03-08 08:40:02 +00:00
Jane Tournois f786b86432 Merge remote-tracking branch 'cgal/master' into PMP-add_bbox_to_face_graph-jtournois 2024-03-06 16:04:58 +00:00
Jane Tournois bb2335a86e early exit already is in Bbox_3::scale() so we can remove this condition 2024-03-06 14:50:32 +01:00
Jane Tournois 15310c93ef copy_face_graph is not needed anymore 2024-03-06 14:48:31 +01:00
Jane Tournois ff3db1e0d7
doc suggestions from code review
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2024-03-06 11:11:27 +01:00
Jane Tournois 78872aca27 move NP do_not_triangulate to make_hexahedron(isocuboid)
and fix nb of faces of hexahedron from 8 to 6
2024-03-05 13:38:14 +00:00
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 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
Mael Rouxel-Labbé f31ae7ccea Add missing backticks 2024-02-23 10:41:09 +01:00
Mael Rouxel-Labbé 8b14bd75ea Move Side_of_triangle_mesh's assertion to usage rather than construction 2024-02-23 10:40:54 +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
Mael Rouxel-Labbé 07b9587eae Merge remote-tracking branch 'afabri/Kernel_23-squared_length-GF' into gsoc2022-isosurface 2024-01-31 16:47:01 +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
Mael Rouxel-Labbé 984a541006 Fix usages of 'th `th 2024-01-23 21:50:04 +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
Mael Rouxel-Labbé d483b3bdfd Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-01-09 13:52:46 +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
hoskillua 5e5b97ab3b user manual API doc 2023-11-08 21:26:24 +03:00
hoskillua 9ed6d1afe0 typo fix 2023-11-08 17:52:41 +03:00
hoskillua 603cac2fd6 some cleanup and comments 2023-11-08 17:49:56 +03:00
hoskillua 1c114c8d75 minor fix (std::max) 2023-11-08 17:32:39 +03:00
hoskillua 8d15e0cb8a wip: qem incomplete 2023-11-08 17:30:23 +03:00
hoskillua 8ea673dec9 linux build fixes 2023-11-08 14:34:52 +03:00
hoskillua 0ecab9b935 WIP: user doc 2023-11-07 11:42:03 +03:00
hoskillua 7cfcd59d7f user doc (imp history, example file ...) 2023-11-07 11:24:45 +03:00
hoskillua e37f5688ab reference documentation 2023-11-07 11:06:50 +03:00
hoskillua 41b726e12c function returning a triangle soup 2023-11-07 10:29:41 +03:00
hoskillua 7aa5b66450 fixed isolated vertices + clean up 2023-11-07 09:59:13 +03:00
hoskillua 54a1d2d766 qem metric moved 2023-11-07 05:21:09 +03:00
hoskillua c4d02d1996 update example file 2023-11-07 05:20:52 +03: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
hoskillua 99d8741367 commenting out incomplete part 2023-10-31 14:34:11 +03:00
hoskillua 6f07f4b0c7 qem init 2023-10-31 09:00:25 +01:00
hoskillua 1bf9693160 curvature interpolation and other fixes 2023-10-31 09:00:25 +01:00
hoskillua 0868dcc009 minor changes 2023-10-31 09:00:25 +01:00
hoskillua 0a4a4f4340 curvature weight 2023-10-31 09:00:25 +01:00
hoskillua bbc5a345b8 adaptive clustering first version 2023-10-31 09:00:25 +01:00
hoskillua 4f99fddb39 Func Documentation 2023-10-31 09:00:24 +01:00
hoskillua dbda656cd7 minor changes 2023-10-31 09:00:24 +01:00
hoskillua d2e4f36c8f Polyhedron demo (incomplete) 2023-10-31 09:00:24 +01:00
hoskillua 9838426faf orient polygon soup 2023-10-31 09:00:24 +01:00
hoskillua 793959b4b0 minor fix 2023-10-31 09:00:24 +01:00
hoskillua b98477e4bc guarantee with subdivision steps for remeshing 2023-10-31 09:00:24 +01:00
hoskillua d4cb18f123 disconnection check + using subdivision 2023-10-31 09:00:24 +01:00
hoskillua e1320217a1 boundary ring 2023-10-31 09:00:24 +01:00
hoskillua 7d4d0c94e2 fixing random initialization and weighting 2023-10-31 09:00:24 +01:00
hoskillua 4907b3b75c Minor initializtions and fixes 2023-10-31 09:00:24 +01:00
hoskillua 8817c27142 constructing mesh 2023-10-31 09:00:24 +01:00
hoskillua 190ac09dc3 some fixes (now clusters look very clean)
need to clean up code
2023-10-31 09:00:24 +01:00
hoskillua 809e22f563 pushing same edge if no update 2023-10-31 09:00:24 +01:00
hoskillua c9e4db0d63 weight (dual area computation) 2023-10-31 09:00:24 +01:00
hoskillua b7512e7ade temp fix 2023-10-31 09:00:24 +01:00
hoskillua 6625e100b5 energy minimzaition (not stable yet) 2023-10-31 09:00:24 +01:00
hoskillua 3230628abf ACVD initial cluster expansion 2023-10-31 09:00:24 +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
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
Laurent Rineau db008f18e7 Merge pull request #7710 from sloriot/PMP-coref_visitor_concept
Fix concept doc
2023-09-13 16:07:39 +02:00
Laurent Rineau e79e0d2033 Merge pull request #7710 from sloriot/PMP-coref_visitor_concept
Fix concept doc
2023-09-13 16:05:35 +02:00
Sébastien Loriot af95dae8c6 Merge remote-tracking branch 'cgal/master' into HEAD 2023-09-12 15:27:54 +02:00
Sébastien Loriot b370381e0a add missing ending 2023-11-16 09:34:40 +01:00
Ivan Paden 426c6f9f5b Update polyhedron demo with ball_radius np in Adaptive_sizing_field 2023-11-16 09:34:40 +01:00
Ivan Paden 7037103416 Introduce ball_radius NP for curvature calculation in Adaptive_sizing_field 2023-11-16 09:34:40 +01:00
Ivan Paden 22b08dfaf8 Update documentation
Info on curvature calculation in Adaptive_sizing_field

Update reference manual welcome page
2023-11-16 09:34:40 +01:00
Ivan Paden cd6692661d Move Sizing_field_base.h out of internal 2023-11-16 09:34:40 +01:00
Ivan Paden f73e7d4a79 Add adaptive sizing information to the user manual 2023-11-16 09:34:40 +01:00
Ivan Paden ec1793f54d Documentation update 2023-11-16 09:34:40 +01:00
Ivan Paden 237e915d2b Use any argument convertible to double for overloads
in isotropic_remeshing()

in split_long_edges()
2023-11-16 09:34:40 +01:00
Ivan Pađen 04e3be8b8c Update Concepts/PMPSizingField docs
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-11-16 09:34:40 +01:00
Ivan Pađen 25c82a2ea2 UpdateSizing_field_base docs
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-11-16 09:34:40 +01:00
Sébastien Loriot 4f29b83610 really fix the order 2023-09-11 15:14:51 +02:00
Sébastien Loriot 2905e38117 update parameter orders 2023-09-11 11:28:22 +02:00
Sébastien Loriot eebc635da0 fix concept doc 2023-09-11 09:38:27 +02:00
Laurent Rineau 46923342ad Merge pull request #7576 from albert-github/feature/issue_7395
issue #7395 Improvement of layout of model relations

# Conflicts:
#	Kernel_23/doc/Kernel_23/CGAL/Vector_2.h
2023-09-07 10:48:34 +02:00
Laurent Rineau 6ce966767b Merge pull request #7660 from afabri/Arrangement-typo-GF
Arrangement: small doc fixes
2023-09-07 10:46:26 +02:00
Laurent Rineau b32a8331ed Merge branch '5.6.x-branch'
# Conflicts:
#	Circular_kernel_3/include/CGAL/Circular_kernel_3/internal_functions_on_sphere_3.h
2023-09-07 10:41:33 +02:00
Laurent Rineau 22d88e367a Merge pull request #7651 from sloriot/PMP-snap_fix_collapse_test
Fix collapse test in snap
2023-09-06 11:52:52 +02:00
hoskillua 167db62e07 moved bib to cgal_manual.bib & restored geom.bib 2023-09-06 12:50:39 +03:00
Mael Rouxel-Labbé 5425d089da Merge remote-tracking branch 'cgal/master' into PMP-Remove_degen_faces-no-clear-GF 2023-09-05 14:52:16 +02:00
Sébastien Loriot 9d68f5350e doc + changes 2023-09-04 15:00:06 +02:00
Sébastien Loriot 4dc2ad3f36 fix map type 2023-09-04 14:05:18 +02:00
Sébastien Loriot 49d6821d9b accomodate update to c++17 STL 2023-08-28 13:51:57 +02:00
Sébastien Loriot a528464f31 Merge branch 'cgal/master' into PMP-BF_autorefine 2023-08-28 13:44:44 +02:00
Sébastien Loriot 77145855da allow external tag function in remeshing with common interface 2023-08-28 08:29:08 +02:00
David Coeurjolly 4b450a5948 Cleaning up not used images 2023-08-25 15:12:56 +02:00
David Coeurjolly c16b155d4e Removing old image file. 2023-08-25 14:39:59 +02:00
David Coeurjolly 1db314ee44 Fixing image
filenames in the doxyfile
2023-08-25 14:39:38 +02:00
Sébastien Loriot 3779d21163 doc that the functions depend on Eigen 2023-08-25 14:36:51 +02:00
hoskillua a94a7337c2 Merge remote-tracking branch 'upstream/master' into gsoc2022 2023-08-25 14:51:46 +03:00
David Coeurjolly 4187e40c25 (WIP) documentation update 2023-08-23 15:56:58 +02:00
Andreas Fabri 55ea7ba7ec More fixes 2023-08-22 10:21:46 +01:00
Ivan Paden 613b0a8914 Merge branch 'master' into PMP-add_sizing_in_isotropic_remeshing-GF 2023-08-21 22:18:37 +02:00
Ivan Paden 4ca59942bf Document Sizing_field_base 2023-11-16 09:31:20 +01:00
Ivan Paden 039b02710e boost::optional to std::optional C++ 17 update 2023-11-16 09:31:20 +01:00
Ivan Paden 9dff622007 Changes for documentation 2023-11-16 09:31:20 +01:00
Ivan Paden a00509ea47 Remove precondition for vpmap 2023-11-16 09:31:20 +01:00
Ivan Paden 8cd75d86f7 Fix vpmap return error 2023-11-16 09:31:20 +01:00
Ivan Paden a96054a051 Place Sizing_field_base under PMP namespace as Uniform and Adaptive classes 2023-11-16 09:31:20 +01:00
Ivan Paden 040b9ab194 Add precondition that sizing field and remeshing vpmap must be the same 2023-11-16 09:31:20 +01:00
Ivan Paden 35153d509d Update documentation 2023-11-16 09:31:20 +01:00
Ivan Paden b69a2671fe Rename Sizing_field to Sizing_field_base 2023-11-16 09:31:20 +01:00
Sébastien Loriot e845b07bab using Koening lookup 2023-11-16 09:31:20 +01:00
Sébastien Loriot 46b50511a7 add missing include directive detected by the CI 2023-11-16 09:31:20 +01:00
Ivan Paden 1f9142bfc2 Try to fix failing test 2023-11-16 09:31:20 +01:00
Ivan Paden f5d23db40a Add template argument to constructor 2023-11-16 09:31:19 +01:00
Ivan Paden dccf973186 Fix templating error in isotropic remeshing overload 2023-11-16 09:31:19 +01:00
Ivan Paden 9e91abb539 First attempt at sizing field docs 2023-11-16 09:31:19 +01:00
Ivan Paden 98a3f14c73 Add PMPSizingField concept to docs 2023-11-16 09:31:19 +01:00
Ivan Paden e3727e4a88 Remove todos 2023-11-16 09:31:19 +01:00
Ivan Paden ff4bbaa155 Target length fix 2023-11-16 09:31:19 +01:00
Ivan Paden 6ee23c6fdd Replace pmesh with vertex property maps in sizing field classes 2023-11-16 09:31:19 +01:00
Ivan Paden ee640c91dd Handle the special case when target_edge_length is 0 2023-11-16 09:31:19 +01:00
Ivan Paden 66721bbcd9 Add precondition 'remeshing mesh == sizing field mesh' 2023-11-16 09:31:19 +01:00
Ivan Paden f589b054ed Documentation update in remesh.h 2023-11-16 09:31:19 +01:00
Ivan Paden 050c7f9512 Add split_long_edges functionality using adaptive sizing field as an input 2023-11-16 09:31:19 +01:00
Ivan Paden 4a8974d256 Move sizing classes to 'public' headers 2023-11-16 09:31:19 +01:00
Ivan Paden 36f8d39f92 Remove extra code in tangential smoothing 2023-11-16 09:31:19 +01:00
Ivan Paden 64257b9c66 Add remeshing quality test 2023-11-16 09:31:17 +01:00
Ivan Paden 00b4b93d1c Remove the adaptive sizing field dependency in remesh.h 2023-11-16 09:30:10 +01:00
Ivan Paden 1f2c0f2471 Remove extra 2023-11-16 09:30:10 +01:00
Ivan Paden 15ad1f78eb Change example input to be analogous to uniform sizing 2023-11-16 09:30:10 +01:00
albert-github 93001308f4 Merge branch 'master' into feature/issue_7395
# Conflicts:
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementPointLocation_2.h
#	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementVerticalRayShoot_2.h
2023-08-18 11:10:42 +02:00
Sébastien Loriot 5cc58a4080 don't do collinear test for a triangle to be collapsed 2023-08-17 15:02:48 +02:00
Sébastien Loriot 28f904f4e2 Merge remote-tracking branch 'cgal/master' 2023-08-15 07:16:14 +02:00
Sébastien Loriot eada3ee8ca Merge branch 'master' into 'sloriot/CGAL-using_c++17_stl' 2023-08-14 14:19:25 +02:00
Sebastien Loriot b534d12620
Locate.h: Use Face_location / Barycentric_coordinates everywhere (#7638)
## Release Management

* Affected package(s): `PMP`
* Issue(s) solved (if any): -
* Feature/Small Feature (if any): -
* License and copyright ownership: no change
2023-08-14 14:11:02 +02:00
Sebastien Loriot 65764b5c6f
Minor improvements to the documentation of `PMP::orient_polygon_soup()` (#7639)
## Release Management

* Affected package(s): `PMP`
* Issue(s) solved (if any): -
* Feature/Small Feature (if any): -
* License and copyright ownership: no change
2023-08-14 12:00:31 +02:00
Sébastien Loriot 44e143e931 Merge remote-tracking branch 'cgal/5.6.x-branch' into 'cgal/master' 2023-08-14 11:54:13 +02:00
Sébastien Loriot db9b8e70b3 Merge remote-tracking branch 'cgal/5.5.x-branch' into 'cgal/5.6.x-branch' 2023-08-14 10:22:35 +02:00
Sébastien Loriot 71347f28a8 remove unused variable 2023-08-09 09:00:38 +02:00
Mael Rouxel-Labbé 33d70dd95f Minor improvements to orient_PS's doc 2023-08-04 14:32:48 +02:00
Mael Rouxel-Labbé 361f6e2f63 Clean code to use Face_location / Barycentric_coordinates everywhere 2023-08-04 13:30:26 +02:00
Sébastien Loriot 06db9ccad8 reproject barycenter to avoid boundary shrinking 2023-08-02 17:25:58 +02:00
Jane Tournois b7aeab378f Merge remote-tracking branch 'cgal/master' into PMP-add_sizing_in_isotropic_remeshing-GF 2023-08-01 12:22:15 +02:00
Ivan Paden 1c597a07cf Move sizing map calculation to constructor 2023-11-16 09:16:00 +01:00
Ivan Paden 573cc53e0a Move curvature map typedef to function 2023-11-16 09:16:00 +01:00
Ivan Paden 99661dfd73 Choose betwen curvature calc for selection and whole mesh 2023-11-16 09:16:00 +01:00
Ivan Paden a61ebb545e Change face subset back to working example with vector 2023-11-16 09:16:00 +01:00
Ivan Paden 4a5283b22e Change selection option to set 2023-11-16 09:16:00 +01:00
Sébastien Loriot 63e3180517 use vector option for selection 2023-11-16 09:16:00 +01:00
Ivan Paden 677bb04ee8 (WIP) figuring out FaceRange curvature calculation 2023-11-16 09:16:00 +01:00
Ivan Paden 06db84f717 Fix sizing field calculation 2023-11-16 09:16:00 +01:00
Ivan Paden c8a96328bd Use C++17 CTAD in example 2023-11-16 09:16:00 +01:00
Ivan Paden 91216f7875 Add adaptive remeshing to Polyhedorn demo, PMP plugin 2023-11-16 09:16:00 +01:00
Ivan Paden 73fd72feb9 Add constexpr to differentiate uniform and adaptive fields 2023-11-16 09:16:00 +01:00
Ivan Paden ace36a2bb6 Make tangential relaxation work with both uniform and adaptive sizing field 2023-11-16 09:16:00 +01:00
Jane Tournois cb779038f6 refs are not needed here
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2023-11-16 09:14:23 +01:00
Ivan Paden 5629f7a04b Add first code for tangential relaxation with sizing (WIP) 2023-11-16 09:13:31 +01:00
Ivan Paden fa9769b908 Prep sizing for tangential relaxation (WIP) 2023-11-16 09:13:31 +01:00
Ivan Paden c89bedb97f Replace std with cgal where applicable, fix assertion 2023-11-16 09:13:31 +01:00
Ivan Paden 947ab8f125 Make a (temp) property map for curvature calculation 2023-11-16 09:13:31 +01:00
Ivan Paden 52df5ae86e Fix default remeshing overload 2023-11-16 09:13:31 +01:00
Ivan Paden fd787c4530 Refactor sizing map update 2023-11-16 09:13:31 +01:00
Ivan Paden 92a434018a Add sizing field calculation from curvature
WIP: isotropic remeshing default overload is now broken
2023-11-16 09:12:17 +01:00
Sébastien Loriot d1779ca36d doc concurrency_tag 2023-07-21 17:03:34 +02:00
Sébastien Loriot 9822f371dd doc precision 2023-07-21 16:54:21 +02:00
Sébastien Loriot e1d7105c1c add visitor + add calls to the visitor 2023-07-21 16:47:03 +02:00
Sébastien Loriot d6fdc85be9 rename variables 2023-07-21 13:38:10 +02:00
Sébastien Loriot fdb6b799a9 add doc + do the autorefine inplace for the soup 2023-07-21 13:32:25 +02:00
Mael Rouxel-Labbé 7f85651e82 Merge remote-tracking branch 'cgal/master' into PMP-Remove_degen_faces-no-clear-GF 2023-07-19 13:55:35 +02:00
albert-github ad41766454 issue #7395 Improvement of layout of model relations
Corrected `cgalModels` to `cgalHasModes` inside `cgalHasNodelsBegin` / `cgalHasModelsEnd`
2023-07-18 13:23:37 +02:00
albert-github de3ba0f47c Merge remote-tracking branch 'upstream/master' into feature/issue_7395 2023-07-17 10:17:34 +02:00
Laurent Rineau f21cafc3cd Merge pull request #7596 from MaelRL/PMP-Rephrase_bounded_Hausdorff_doc-GF
Rephrase documentation of one-sided Haussdorff distance function
2023-07-17 09:52:18 +02:00
albert-github 4e5578d469 issue #7395 Improvement of layout of model relations
- based on review
2023-07-15 13:12:15 +02:00
albert-github a0320dd7b4 Merge branch 'master' into feature/issue_7395
# Conflicts:
#	Polyhedron/doc/Polyhedron/Concepts/PolyhedronItems_3.h
2023-07-13 10:33:18 +02:00
Mael Rouxel-Labbé 852056a8ac Rephrase documentation of one-sided Haussdorff distance function 2023-07-12 16:16:42 +02:00
Laurent Rineau 4a2c7a668d Merge pull request #7571 from albert-github/feature/issue_7454
issue #7454 Consistency of BigO notations
2023-07-12 15:29:56 +02:00
Sébastien Loriot 806ffa9385 remove TODO
I don't think a predicate sorting planes along a ray would be
faster than directly using intersection coordinates
2023-07-06 17:40:28 +02:00
albert-github ee2a55279d issue #7395 Improvement of layout of model relations
- Completed the cgalHasModel part
- corrected spelling of `Has Model` and `Is Model Of` to `Has model` and `Is model of`
2023-07-06 17:35:34 +02:00
Sébastien Loriot e7490ee31f use direct construction of coplanar segment intersection 2023-07-06 16:55:26 +02:00
Sébastien Loriot a0658b6423 track coplanar triangles and use direct point construction 2023-07-06 15:51:04 +02:00
Sébastien Loriot b86a1fed32 Merge remote-tracking branch 'sloriot/PMP-BF_autorefine' into PMP-BF_autorefine 2023-07-05 17:59:29 +02:00
Sébastien Loriot b66afab814 Merge remote-tracking branch 'sloriot/CGAL-using_c++17_stl' into HEAD 2023-07-05 11:29:35 +02:00
Sébastien Loriot 68813c5c63 Merge pull request #7403 from sloriot/CGAL-replace_boost_by_std
Replace boost by std
2023-07-05 11:08:36 +02:00
albert-github b3af96caa1 issue #7454 Consistency of BigO notations
Create `cgalBigO` marco and used it.
(`The macro `cgalBigOLarge` is for special situations where we need bigger round brackets)
2023-07-04 16:23:14 +02:00
Sébastien Loriot dfc386d65b Merge branch 'master' into HEAD 2023-06-22 14:05:45 +02:00
Laurent Rineau 70ac38bed0 Merge pull request #7523 from nmnobre/doc_segmentation
Fix typos in multiple manuals
2023-06-22 11:59:32 +02:00
Nuno Miguel Nobre 0469f46105 Fix plurals in a number of manuals 2023-06-20 13:29:44 +01:00
Sébastien Loriot 0ee31a5d4f remove extra parenthesis 2023-06-19 19:17:49 +02:00
Sébastien Loriot f936680600 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 18:48:39 +02:00
Sébastien Loriot 9cdfe70abb Merge remote-tracking branch 'sloriot/CGAL-toward_6.0' 2023-06-15 11:34:09 +02:00
Sébastien Loriot 56499e017d do not use API that did not go into the standard 2023-06-15 10:57:10 +02:00
Sébastien Loriot 9a0bdb5d96 boost::variant ---> std::variant 2023-06-15 10:57:10 +02:00
Sébastien Loriot 557b64e4a6 boost::any ==> std::any 2023-06-15 10:57:09 +02:00
Sébastien Loriot 604dcdc435 boost::optional => std::optional 2023-06-15 10:57:09 +02:00
Sébastien Loriot bbc4d08ee0 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 10:47:07 +02:00
Sébastien Loriot c8a88b9014 remove CGAL_static_assertion* 2023-06-15 10:42:10 +02:00
Sébastien Loriot 41449d71cd fix bug when setting the ids of points
2 options, one with mutex and one without. As this section is not critical,
we do not really see a runtime difference (without mutex seems faster so
I pick that one as default)
2023-06-12 11:05:11 +02:00
Sébastien Loriot 45c7b0015f add stop 2023-06-12 10:55:56 +02:00
Sébastien Loriot c5fab1c874 fix sequential run 2023-06-08 14:21:59 +02:00
Sébastien Loriot 0684bd203f hide debug 2023-06-08 14:21:51 +02:00
Sébastien Loriot 003bf47781 move alpha computation into a functor 2023-06-08 14:05:09 +02:00
Sébastien Loriot 48712f7862 don't use c++17 features 2023-06-08 14:04:55 +02:00
Laurent Rineau 0e76c32749 Merge pull request #7447 from MaelRL/CGAL-Fix_warnings-GF
Fix some warnings
2023-06-05 15:10:29 +02:00
Laurent Rineau ae1bbe7e17 Merge pull request #7488 from sloriot/PMP-coref_no_early_exit
Corefinement: remove incorrect early exit
2023-06-05 15:09:59 +02:00
Laurent Rineau e697bb386d Merge pull request #7489 from afabri/PMP-document_overload-GF
PMP: Document overload of angle_and_area_smoothing()
2023-06-05 15:09:56 +02:00
Laurent Rineau f1a717bab5 Merge pull request #7488 from sloriot/PMP-coref_no_early_exit
Corefinement: remove incorrect early exit
2023-06-05 14:01:18 +02:00
Andreas Fabri c1b9ea9d47
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/angle_and_area_smoothing.h
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2023-06-02 12:27:28 +02:00
Andreas Fabri f3c2d9b310 polish 2023-06-01 17:25:23 +01:00
Sébastien Loriot bf1ffb3cae move tests into the testsuite 2023-06-01 11:38:03 +02:00
Andreas Fabri a8e3c84c78 PMP: Document overload of angle_and_area_smoothing() 2023-06-01 10:37:22 +01:00
Sébastien Loriot e0f48fb51a fix script 2023-06-01 11:18:33 +02:00
Sébastien Loriot cb3a1e03d4 remove the early exit as we could miss the fact that some operations might be impossible 2023-06-01 11:17:45 +02:00
Sébastien Loriot 3d6c0da44c remove debug 2023-05-31 09:14:42 +02:00
Sébastien Loriot b724def918 Merge pull request #6605 from sloriot/PMP-snap_no_deg_faces_created
Avoid creating degenerate faces in snap
2023-05-30 19:15:30 +02:00
Sébastien Loriot 4b2f3e6ec7 take np into account for concurrency 2023-05-30 16:01:05 +02:00
Sébastien Loriot a1fbd105da add TODO 2023-05-30 15:07:13 +02:00
Andreas Fabri 3d6d9b3edc parallelize unique points 2023-05-30 11:10:36 +01:00
Sébastien Loriot e34a79864a debug macro 2023-05-30 10:13:28 +02:00
Andreas Fabri 2695834873 Rename lambdas 2023-05-30 08:10:06 +01:00
Andreas Fabri 1c1ed53c76 Parallelize deduplicate_segments() 2023-05-30 08:03:29 +01:00
Andreas Fabri 278e1867aa parallize #1 2023-05-26 17:12:28 +01:00
Sébastien Loriot 5d73a7addd add TODOs for parallelism 2023-05-25 10:06:51 +02:00
Sébastien Loriot a15956d231 add clear function and input must mesh should be const in principle 2023-05-24 16:09:31 +02:00
Sébastien Loriot ec274dd8e9 hide non used variable 2023-05-23 18:18:28 +02:00
Mael Rouxel-Labbé 7bf284fafa Misc minor changes 2023-05-22 14:01:17 +02:00
Mael Rouxel-Labbé 62ca575170 Simplify expression 2023-05-22 14:01:07 +02:00
Mael Rouxel-Labbé afd096cb91 Fix indentation 2023-05-22 12:30:38 +02:00
Charles Gueunet cf07ee9c91 Trailing 'l' on return statement
In CERES_SOLVER mode only
2023-05-22 10:55:52 +02:00
Sebastien Loriot 32da057717
PMP: Test with class derived from Surface_mesh (#7422)
## Summary of Changes

Add the class `CGAL::Testsuite::DerivedSurfaceMesh` that will enable us
to check if a class derived from ` CGAL::Surface_mesh` passes the
Polygon Mesh Processing testsuite (and others). To get started and early
feedback this is currently only used in a single testcase.

This is related to PR #7418 as we would have detected the issue.

## Release Management

* Affected package(s): PMP

* License and copyright ownership: unchanged
2023-05-22 09:20:40 +02:00
Ivan Paden eb2a023c31 Merge PR #6760 into gsoc2023-adaptive_remesh-ipadjen 2023-05-21 08:50:10 +02:00
Ivan Paden 5c4e6ed7b5 Create a vertex property map that will contain sizing info (WIP)
Also, update target length checks
2023-05-19 23:48:30 +02:00
Ivan Paden 7326fb52ce Add initial preparations for adaptive sizing field
Add Adaptive_sizing_field header with edge min and max limits, and tolerance
Adjust the example
2023-05-19 23:47:41 +02:00
Mael Rouxel-Labbé cb05427cf3 Remove std::move on temporary result 2023-05-16 15:49:34 +02:00
Mael Rouxel-Labbé 752aa94490 Properly initialize kernel functors 2023-05-16 15:49:18 +02:00
Mael Rouxel-Labbé eb1462ea56 Remove needless reference 2023-05-16 15:49:00 +02:00
Mael Rouxel-Labbé aa12591bc3 Use VPM's reference 2023-05-16 15:48:50 +02:00
Mael Rouxel-Labbé a69a2f54c6 Rename to avoid conflict with STL 2023-05-16 14:21:27 +02:00
Mael Rouxel-Labbé 34a9756836 Use BGL API instead of assuming graph.clear() exists 2023-05-15 12:42:13 +02:00
Mael Rouxel-Labbé 7a3ad05e05 Replace some calls of clear() by empty() to preserve internal property maps 2023-05-15 12:41:39 +02:00
Mael Rouxel-Labbé 52bf989086 Add a non-trivial test with all degenerate faces 2023-05-15 11:57:44 +02:00
Laurent Rineau d6581363f5
Activate CDT2 for face triangulation (#7437)
(master only)
2023-05-12 10:05:25 +02:00
Laurent Rineau bb63050ef0 Merge pull request #7436 from sloriot/PMP-doc_compta_ori
Improve doc of compatible_orientations
2023-05-11 17:37:11 +02:00
Jane Tournois 50bbb4f682 add namespace
to avoid conflicts with Uniform_sizing_field in Mesh_3
2023-05-11 16:07:10 +02:00
Sébastien Loriot 5c1e820c1e fix test and demo 2023-05-11 16:07:10 +02:00
Sébastien Loriot ad55b8cd9f fix compilation issues 2023-05-11 16:07:09 +02:00
Jane Tournois 9de41310fd use boost::optional<double> instead of a bool and a double
# Conflicts:
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h
2023-05-11 16:07:08 +02:00
Jane Tournois 0ee9406235 add possibility to provide a variable sizing field to PMP::isotropic_remeshing
# Conflicts:
#	Polygon_mesh_processing/examples/Polygon_mesh_processing/CMakeLists.txt
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h
2023-05-11 16:05:48 +02:00
Sébastien Loriot dbada8d636 fix alternative call + more debug 2023-05-10 14:59:49 +02:00
Sébastien Loriot 9f056f9d09 add missing np 2023-05-10 14:59:42 +02:00
Sébastien Loriot a96af5031e improve doc 2023-05-09 18:56:29 +02:00
Laurent Rineau 7789f8a144 Merge pull request #7418 from MaelRL/PMP-Add_missing_const-GF
Add missing const
2023-05-04 17:22:43 +02:00
Laurent Rineau 038813d7e6 Merge pull request #7418 from MaelRL/PMP-Add_missing_const-GF
Add missing const
2023-05-04 17:21:16 +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
Andreas Fabri 257a03e198 PMP: Test with class derived from Surface_mesh 2023-05-04 11:38:44 +01:00
Sébastien Loriot e0eac4f388 Merge remote-tracking branch 'cgal/master' into HEAD 2023-05-03 18:37:09 +02:00
Laurent Rineau e31efe8cd9 Merge pull request #7401 from sloriot/PDemo-fix_warning
fix demo warnings
2023-05-03 15:05:41 +02:00
Mael Rouxel-Labbé aa2a87e538 Add missing const 2023-05-03 11:27:28 +02:00
hoskillua 83bf49bf39 Computing curvatures mentioned in the outline section (1.3) 2023-05-01 12:29:25 +02:00
hoskillua ae5d32ba2e citing/referencing "corrected curvature measures"
+ refining the theo background
2023-05-01 12:23:20 +02:00
Sébastien Loriot c1294a0eaa boost::integral_constant ---> std::integral_constant 2023-04-29 09:42:15 +02:00
Sébastien Loriot 769fca3597 std::size is also c++17
remove this commit before merging to master
2023-04-29 08:54:05 +02:00
Sébastien Loriot 7f2ca4cfb7 fix more warnings 2023-04-27 15:52:52 +02:00
Sébastien Loriot 585e79b67e add authors from the history section 2023-04-26 13:06:19 +02:00
Sébastien Loriot 731905c02c fix one more 2023-04-26 09:03:28 +02:00
Laurent Rineau b8f23d4feb Merge pull request #7255 from lrineau/CGAL-rename_ctest_test_names-GF
CGAL CTest support: rename the test names
2023-04-24 14:08:27 +02:00
Laurent Rineau 4d76e06383 Merge pull request #7392 from MaelRL/CGAL_IO-Obj_fixes-GF
Fix issues in OBJ I/O
2023-04-24 14:08:22 +02:00
Laurent Rineau 4fe208bdd3 Merge pull request #7392 from MaelRL/CGAL_IO-Obj_fixes-GF
Fix issues in OBJ I/O
2023-04-24 14:06:34 +02:00
Sébastien Loriot 2f7d150531 boost::begin/end/empty/size -> std::begin/end/empty/size 2023-04-23 23:01:35 +02:00
Sébastien Loriot b039040f73 boost::is_convertible -> std::is_convertible 2023-04-23 22:37:07 +02:00
Sébastien Loriot 5726a0a255 boost::is_floating_point -> std::is_floating_point
boost::is_float
2023-04-23 22:37:07 +02:00
Sébastien Loriot a04035879d boost::is_const -> std::is_const 2023-04-23 22:37:07 +02:00
Sébastien Loriot e82d970d19 boost::next -> std::next 2023-04-23 22:37:07 +02:00
Sébastien Loriot 99619dc634 boost::prior -> std::prev 2023-04-23 22:37:07 +02:00
Sébastien Loriot 8b3acae1c7 boost::remove_reference -> std::remove_reference 2023-04-23 22:36:59 +02:00
Sébastien Loriot 61834d5a26 boost::remove_const -> std::remove_const_t 2023-04-23 19:07:54 +02:00
Laurent Rineau 7cb29b5d0a Merge pull request #7353 from MaelRL/PMP-Triangulate_PS-GF
Add triangulate Polygon Soup
2023-04-21 11:21:28 +02:00
Laurent Rineau ad30839e6b Merge pull request #7370 from sloriot/PMP-soup_self_intersections
Add self-intersection test and report functions for triangle soups
2023-04-21 11:20:52 +02:00
Laurent Rineau 205236832e Merge remote-tracking branch 'cgal/master' into CGAL-rename_ctest_test_names-GF
# Conflicts:
#	Polyhedron/demo/Polyhedron/Plugins/PMP/CMakeLists.txt
2023-04-21 10:47:17 +02:00
Sébastien Loriot 5260100f88 fix warning 2023-04-21 09:07:14 +02:00
Sébastien Loriot 3705a4cfef fix typo 2023-04-19 04:09:46 +02:00
Sébastien Loriot f3f6783e8a update split candidate choice in case of presence of deg faces 2023-04-19 03:24:01 +02:00
hoskillua 261eac81e9 user manual - incomplete 2023-04-18 14:30:37 +02:00
Mael Rouxel-Labbé b8e82b9c05 Merge remote-tracking branch 'cgal/master' into PMP-Triangulate_PS-GF 2023-04-18 12:16:27 +02:00
Mael Rouxel-Labbé 82e130d951 Minor example improvements 2023-04-18 12:14:10 +02:00
Mael Rouxel-Labbé 451223a2e8 Fix not forwarding verbose NP to inner functions 2023-04-18 11:22:53 +02:00
hoskillua f8a9862abf incomplete update to user man doc 2023-04-17 15:14:37 +02:00
Laurent Rineau 594682dde3 Merge pull request #5461 from sloriot/PMP-decimation
Add coplanar decimation
2023-04-17 10:14:07 +02:00
Laurent Rineau 824976a003 Merge pull request #7236 from albert-github/feature/issue_7231
issue #7231 Improvement of layout of refines relations.
2023-04-17 10:14:01 +02:00
Laurent Rineau 318fce90e9 Merge pull request #7385 from sloriot/PMP-tr_fix_deg_tri
handle degenerate triangles (usually created with the reprojection)
2023-04-17 10:13:24 +02:00
Sébastien Loriot 054906fe7c handle degenerate triangles (usually created with the reprojection) 2023-04-13 15:17:04 +02:00
Sébastien Loriot 2393258370 add triangle soup specific tests 2023-04-12 16:59:05 +02:00
Sébastien Loriot b123ccf125 copy mesh test for soup 2023-04-12 16:21:42 +02:00
Sébastien Loriot a361f79e1f add missing parameter 2023-04-12 16:21:26 +02:00
Sébastien Loriot 304c1394e5 check source mesh before doing the split 2023-04-12 15:19:07 +02:00
Sébastien Loriot 37361b757b do not split if after split faces are not consistently oriented 2023-04-12 15:13:15 +02:00
Sébastien Loriot 6c2c6a580b remove useless variable and use existing ones 2023-04-12 15:07:16 +02:00
Sébastien Loriot ef41988c64 only one deg face is sufficient to cancel the split 2023-04-12 14:59:19 +02:00
Laurent Rineau 9e18cc6989
Unexpected backtick (#7378)
In the file: Arrangement_on_surface_2/index.html
we see:
```
The example below shows how to construct the same arrangement of five line segments built incrementally in Arrangement_on_surface_2/incremental_insertion.cpp` depicted in Figure 34.9 using the aggregate insertion
```
i.e. an unexpected backtick.
2023-04-12 09:55:42 +02:00
Sébastien Loriot 4dc91d18be directly use std::multiset as the double keys are not needed 2023-04-12 09:19:55 +02:00
albert-github 8a0b21461d Unexpected backtick
- Corrected some more redundant / missing backticks
- correctes a spelling error (Boolean_set_operations_2/doc/Boolean_set_operations_2/CGAL/Boolean_set_operations_2/Gps_default_dcel.h)
2023-04-11 17:38:37 +02:00
Laurent Rineau e042737ed9 Merge pull request #7352 from sloriot/PMP-one_si_test
Do not test twice for self-intersections if there is none
2023-04-11 14:19:02 +02:00
hoskillua 8393933630 minor grammer fixes 2023-04-08 10:27:13 +02:00
hoskillua cef23a9045 moving captions out of the figure 2023-04-08 10:24:47 +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
Sébastien Loriot aefc4b9ce8 repair soup before orient + to mesh 2023-04-06 19:26:58 +02:00
Sébastien Loriot 2a791d2625 add optional progress display 2023-04-06 19:26:58 +02:00
Sébastien Loriot 2bae23a2d5 triangulate soup 2023-04-06 19:26:58 +02:00
Sébastien Loriot d3bcae07c6 Merge pull request #7353 from MaelRL/PMP-Triangulate_PS-GF
Add triangulate Polygon Soup
2023-04-06 19:26:25 +02:00
Sébastien Loriot e29d52421e fix doc 2023-04-06 19:25:46 +02:00
Sébastien Loriot bd967e7cec avoid duplicated tangency point 2023-04-06 19:25:46 +02:00
Sébastien Loriot b06ed794e6 add more debug 2023-04-06 19:25:46 +02:00
Sébastien Loriot 85b3f7ed57 working around non-triangular polygons 2023-04-06 19:25:46 +02:00
Sébastien Loriot 6139fc4119 insert points even if no constraints 2023-04-06 19:25:46 +02:00
Sébastien Loriot 38a92ead67 make the message clearer 2023-04-06 19:25:46 +02:00
Sébastien Loriot b31dc68889 add another option coplanar orientation 2023-04-06 19:25:46 +02:00
Sébastien Loriot ebb051f0b6 remove debug 2023-04-06 19:25:46 +02:00
Sébastien Loriot 48c49add1c more debug and enum fix 2023-04-06 19:25:46 +02:00
Sébastien Loriot 5defd784cc better treatment of intersection between segments 2023-04-06 19:25:46 +02:00
Sébastien Loriot adb5a31852 dramatic typo 2023-04-06 19:25:46 +02:00
Sébastien Loriot 003910ee22 fix typo 2023-04-06 19:25:46 +02:00
Sébastien Loriot 14105bbdd4 always use local indices for range insertion of constraints 2023-04-06 19:25:46 +02:00
Sébastien Loriot 8ff9f17a41 restore traits creation 2023-04-06 19:25:46 +02:00
Sébastien Loriot 3abf7c401b add debug 2023-04-06 19:25:46 +02:00
Sébastien Loriot f499c39266 add a version with fixed dimension for projection 2023-04-06 19:25:46 +02:00
Sébastien Loriot 2fade29214 add more debug 2023-04-06 19:25:46 +02:00