Commit Graph

845 Commits

Author SHA1 Message Date
Sebastien Valette 78bb2abf69 optim : lazy computations 2025-02-10 15:31:09 +01:00
Léo Valque 3dc12cd8fb New alternative version of snap_polygon_soup for testing 2025-02-04 16:15:08 +01:00
Laurent Rineau e5001d1a50 update our CMake version 3.18...3.31
That will suppress the warnings about `CMP0167` (from CMake 3.30):

```
CMake Warning (dev) at cmake/modules/display-third-party-libs-versions.cmake:37 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
```
2025-02-04 14:32:37 +01:00
Léo Valque 14ccffcd13 Doc, verbose and named parameter of snap_polygon_soup 2025-02-04 13:51:53 +01:00
Léo Valque 3787d4b0ac Add snap polygon soup to PMP 2025-02-04 11:26:46 +01:00
Sébastien Loriot 107f3696dc boost::tie -> std::tie 2025-01-24 14:20:00 +01:00
Andreas Fabri 0afe4f09e9 Change output file names; Fix dependency 2024-10-18 14:28:17 +01:00
Andreas Fabri 70326e3b8e Read file as given in argv and write output to same stem and extension 2024-10-18 13:55:55 +01:00
Sébastien Loriot 619875392c Merge branch 'gsoc2023' into master 2024-10-18 14:33:31 +02:00
Andreas Fabri 527569346e CGAL: Modernize CMakeLists.txt 2024-10-08 17:02:41 +01:00
Laurent Rineau e1c1582c08 Merge pull request #8210 from janetournois/PMP-allow_move_example-jtournois
PMP isotropic_remeshing - add example using `allow_move_functor`

# Conflicts:
#	Polygon_mesh_processing/doc/Polygon_mesh_processing/examples.txt
2024-09-27 11:49:59 +02:00
Sébastien Loriot 4cf1f4b214 CONFIG options is only needed if a FindXXX.cmake exists 2024-09-04 14:48:07 +02:00
Jane Tournois 3f6083e6ff use CGAL::OpenMesh_support in examples and tests 2024-08-27 14:06:16 +02:00
Sébastien Loriot e95ea7cde7 unused variable 2024-07-04 18:36:55 +02:00
Jane Tournois 8905201e21 replace pig (not closed) by triceratops 2024-07-01 15:15:34 +02:00
Laurent Rineau 21bc6c669f Merge pull request #8277 from afabri/PMP-normals-GF
PMP: Change the string of the property
2024-06-13 12:48:45 +02:00
Laurent Rineau 32893b91c0 Merge pull request #8263 from lrineau/CGAL-update_minimal_cmake-GF
cmake_minimum_required(VERSION 3.12...3.29)
2024-06-12 10:06:12 +02:00
Andreas Fabri 8a6b86b9ae PMP: Change the string of the property 2024-06-11 08:18:34 +01:00
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
albert-github 36c8b7589d Spelling corrections
Last batch (for now) of spelling corrections in doxygen and normal comments
2024-05-31 19:05:34 +02:00
Laurent Rineau 70464ea107 Merge remote-tracking branch 'afabri/STL_extension-Fix_Prevent_deref-GF' into pr/lrineau/8170 2024-05-21 18:55:11 +02:00
Jane Tournois 12455fbd55 add example using allow_move_functor 2024-05-17 10:19:49 +02:00
Laurent Rineau 022b19d3ca Merge pull request #8057 from sloriot/AABB_tree-2d_and_3d
Updating the AABB-tree to work in both 2D and 3D
2024-05-15 16:12:19 +02:00
Laurent Rineau 0dcb83bff8 Merge pull request #8142 from sloriot/PMP-coref_nm_out
Add extra parameters to the corefinement visitor to handle non-manifold output
2024-05-15 16:12:16 +02:00
Laurent Rineau 127163fda3 cosmetic changes in debug messages 2024-04-26 16:10:23 +02:00
Laurent Rineau 4bf1c438af Add a tool to list non triangulated off files 2024-04-26 16:10:23 +02:00
Laurent Rineau c4165fe5f9 Merge pull request #7439 from MaelRL/PMP-Remove_degen_faces-no-clear-GF
Introduce remove_all_elements(Graph)
2024-04-22 14:54:18 +02:00
Sven Oesau ffba6279c9 Merge remote-tracking branch 'cgal/master' into AABB_tree-2d_and_3d 2024-04-19 08:47:54 +02:00
Sébastien Loriot bf6af35d42 address review comments 2024-04-15 18:34:45 +02:00
Sébastien Loriot 05f4cf6106 add doc and make implementation generic 2024-04-15 17:32:22 +02:00
Sébastien Loriot 3f147fb06a show how to create the mesh from the soup 2024-04-15 09:23:51 +02:00
Sébastien Loriot 3fbd0fd886 handle several operations 2024-04-15 09:23:37 +02:00
Sébastien Loriot 5583f42fce do no unmark edges as the soup does not need them + allow several operations 2024-04-15 09:23:12 +02:00
Sébastien Loriot 13e2adf130 First draft of using a visitor to extract non-manifold soups 2024-04-15 09:23:12 +02:00
Andreas Fabri caa8aaaa21 merge master 2024-04-03 14:09:39 +01:00
Laurent Rineau 04cf39bd8c CMake: simplify, now that C++17 is required 2024-03-28 18:38:48 +01:00
hoskillua 3bd0a7c92f QEM Minimization (still a bit buggy) 2024-03-28 17:55:12 +02:00
hoskillua 916e5f55c5 Making PostProcessing QEM Optional (np) 2024-03-28 11:45:44 +02:00
Sébastien Loriot e417a32a9f doc improvements 2024-03-27 18:36:34 +01:00
hoskillua 9c6aa8c04f Optimizing Cluster Rep-Points with Qem (PostProcessing) 2024-03-27 13:15:47 +02:00
Sven Oesau 65be6133d8 removing deprecated AABB types 2024-03-26 15:56:45 +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
Andreas Fabri 7d7b080842 PMP: Change inclusion order to check dependencies 2024-01-31 09:39:45 +00:00
Sébastien Loriot d4a36120d8 make sure we can read the file 2024-01-11 09:31:15 +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
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
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
Andreas Fabri 62a64ae870 Add check that it faces are triangles 2023-12-12 09:28:01 +00:00
Andreas Fabri 6ca34b6210 Add example for sampling 2023-12-12 08:44:12 +00:00
Mael Rouxel-Labbé 81972df60e Add a convenience IO header 2023-12-12 09:39:35 +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
Sébastien Loriot 93a1549c65 used typedef 2023-12-11 11:34:42 +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 bcdc0f9f92 remove non needed include 2023-12-08 11:45:25 +01:00
Andreas Fabri dac83a5717 PMP examples: unify type names 2023-11-22 15:11:11 +00: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 4d834098b8 Merge remote-tracking branch 'cgal/master' into HEAD 2023-11-16 10:39:31 +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
Ivan Pađen 959311048b Fix Adaptive_sizing_field template issue 2023-11-16 09:37:40 +01:00
Ivan Paden 0481c624e2 Cleanup the example 2023-11-16 09:37:40 +01: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 7aa5b66450 fixed isolated vertices + clean up 2023-11-07 09:59:13 +03:00
hoskillua c4d02d1996 update example file 2023-11-07 05:20:52 +03:00
hoskillua 0868dcc009 minor changes 2023-10-31 09:00:25 +01:00
hoskillua bbc5a345b8 adaptive clustering first version 2023-10-31 09:00:25 +01:00
hoskillua d2e4f36c8f Polyhedron demo (incomplete) 2023-10-31 09:00:24 +01:00
hoskillua d4cb18f123 disconnection check + using subdivision 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 c9e4db0d63 weight (dual area computation) 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 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
Sébastien Loriot 7d12160e18 update doc 2023-10-03 11:52:04 +02: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 a528464f31 Merge branch 'cgal/master' into PMP-BF_autorefine 2023-08-28 13:44:44 +02:00
hoskillua a94a7337c2 Merge remote-tracking branch 'upstream/master' into gsoc2022 2023-08-25 14:51:46 +03: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 4a8974d256 Move sizing classes to 'public' headers 2023-11-16 09:31:19 +01:00
Ivan Paden 00b4b93d1c Remove the adaptive sizing field dependency in remesh.h 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
Ivan Paden 1c597a07cf Move sizing map calculation to constructor 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 947ab8f125 Make a (temp) property map for curvature calculation 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 fdb6b799a9 add doc + do the autorefine inplace for the soup 2023-07-21 13:32:25 +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 9cdfe70abb Merge remote-tracking branch 'sloriot/CGAL-toward_6.0' 2023-06-15 11:34:09 +02:00
Sébastien Loriot 604dcdc435 boost::optional => std::optional 2023-06-15 10:57:09 +02:00
Sébastien Loriot 45c7b0015f add stop 2023-06-12 10:55:56 +02:00
Sébastien Loriot 4b2f3e6ec7 take np into account for concurrency 2023-05-30 16:01:05 +02:00
Andreas Fabri 2695834873 Rename lambdas 2023-05-30 08:10:06 +01:00
Andreas Fabri 278e1867aa parallize #1 2023-05-26 17:12:28 +01:00