Commit Graph

632 Commits

Author SHA1 Message Date
Sebastien Loriot 4d6ddfbc76
Apply suggestions from code review
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2022-04-07 12:24:38 +02:00
Sébastien Loriot 39331c3b65 use non-deprecated function 2022-04-07 09:19:33 +02:00
Sébastien Loriot 6c93fd68f2 fix missing include directive 2022-04-07 09:11:16 +02:00
Sébastien Loriot fe9e559bd1 add an example 2022-04-06 18:24:53 +02:00
Sébastien Loriot 1dd4b8462f Merge remote-tracking branch 'sloriot/PMP-relax' 2022-03-31 16:47:06 +02:00
Andreas Fabri 9c8ace1912 Initialize at start_..(); Use 3D Delaunay 2022-03-31 13:08:55 +01:00
Andreas Fabri 591c065bcb merge master 2022-03-30 15:21:51 +01:00
Andreas Fabri 0afbfc9c65 Improve reporting 2022-03-30 14:17:58 +01:00
Andreas Fabri ef19ead48a Add visitors for coplanar faces and build_output 2022-03-30 11:42:24 +01:00
Andreas Fabri 11de847009 Progress tracking of the triangulation step 2022-03-30 09:30:44 +01:00
Sébastien Loriot 010bcfc27b Merge pull request #6389 from MaelRL/PMP-Doc_smoothing-GF
PMP doc fixes and enhancements
2022-03-30 08:03:50 +02:00
Andreas Fabri 8bf1b630d9 Add progress tracking to corefinement 2022-03-29 16:55:03 +01:00
Andreas Fabri b9d8c8c682 Please enter the commit message for your changes. Lines starting 2022-03-28 11:20:50 +01:00
Andreas Fabri e0016532cb polish example 2022-03-28 06:39:44 +01:00
Andreas Fabri 398c4d2353 Thow an exception based on a timeout while tracking progress 2022-03-25 17:34:22 +01:00
Andreas Fabri 2c07eaf6fe Add progress tracking for the quadratic phase 2022-03-25 14:18:24 +01:00
Andreas Fabri 9e3a36cde6 Real progress 2022-03-24 17:12:45 +01:00
Andreas Fabri 679897a755 PMP::triangulate_hole(): Add Visitor as template parameter and as parameter 2022-03-24 12:05:14 +01:00
Sébastien Loriot f4098ebe65 fix warning 2022-03-23 22:55:47 +01:00
Sébastien Loriot 689da92ae4 Merge remote-tracking branch 'PMP-relax' into master 2022-03-23 22:09:20 +01:00
Mael Rouxel-Labbé d5b51a84ef PMP misc spring cleaning 2022-03-23 18:39:31 +01:00
Laurent Rineau 2b0b0b7817 Merge pull request #6341 from afabri/PMP_extrude_example-GF
PMP: Add example for extrude_mesh()
2022-03-09 11:35:24 +01:00
Andreas Fabri 808b3fb24c Use existing data set 2022-03-03 10:04:37 +00:00
Andreas Fabri b5fc0b0d72 PMP: Add example for extrude_mesh() 2022-02-21 16:09:55 +00:00
Sébastien Loriot 4ffc949199 replace boost::unordered by std::unordered
but in T3, Mesh_3, TDS_3, P3[TM]3
2022-02-03 19:11:12 +01:00
Sébastien Loriot 6745fb79ea remove trailing whitespaces 2022-01-28 15:41:46 +01:00
Sébastien Loriot 367ac9b200 rename file 2022-01-27 18:28:54 +01:00
Sébastien Loriot 11d60de9d1 Merge remote-tracking branch 'cgal/master' into PMP-decimation 2022-01-27 16:25:24 +01:00
Andreas Fabri 79a38d5cb9 CGAL Examples: CGAL_assertion -> assert 2022-01-24 10:19:04 +00:00
Sébastien Loriot c3fa3f5993 fix data path 2022-01-20 08:55:43 +01:00
Sébastien Loriot 126b78fecf Merge remote-tracking branch 'sloriot/PMP-relax' into HEAD 2022-01-19 13:50:46 +01:00
Sébastien Loriot 75b03e6c0a use_default_values() -> default_values() 2022-01-10 18:36:37 +01:00
Sébastien Loriot 6d3176e061 move Named_parameters class in STL_extension
helpers stay in BGL because it depends on BGL tags
2022-01-07 15:12:22 +01:00
Sébastien Loriot 84657126bf add missing CGAL namespace 2022-01-07 09:56:38 +01:00
Sébastien Loriot 1e7785b427 do not use PMP::parameters namespace 2022-01-04 16:00:38 +01:00
Sébastien Loriot 6848e69987 replace all_default() by use_default_values() in tests and examples 2022-01-04 14:06:26 +01:00
Jane Tournois 64af231b6e
Merge branch 'master' into PMP-relax 2021-12-28 14:52:48 +01:00
Jane Tournois 4f5f83acbf rename delaunay_remeshing to surface_Delaunay_remeshing
with capital D
2021-12-20 11:46:58 +01:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Jane Tournois 909e69888c
Merge branch 'master' into PMP-add_surface_mesher-jtournois 2021-10-29 17:47:25 +02:00
Jane Tournois 90b5c60956 rename make_surface_mesh() to delaunay_remeshing() 2021-10-29 14:52:14 +02:00
Jane Tournois 5ec19abc7b domain.detect_features() and domain.add_features() cannot be called in sequence
so we separate the use of edge_is_constrained_map and automatic detection of features
2021-10-27 22:53:48 +02:00
Jane Tournois e8ac9f281c add feature detection 2021-10-27 12:24:24 +02:00
Mael Rouxel-Labbé 8166579e55 Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_master-GF 2021-10-11 19:58:07 +02:00
Mael Rouxel-Labbé 590ddf8015 Various fixes for pmaps:
- Use `value_type` when the returned type is not a reference
- Enforce `reference = value_type` if the returned type is not
  a reference (to avoid `typename PM::reference r = get(m, k)`,
  which will take a ref to a temporary if the `reference`
  typedef is an actualy reference)
- Do not use `put_get_helper` if the property map is not a `lvalue`
  **mutable** property map: the `put()` is `map[k] = v`, which
  is broken if `operator[]` does not return a reference
- The concept `boost::lvalue_property_map_tag` requires `operator[](key)`,
  not a reference in `get(map, key)`. You can have a readable property map
  returning a reference through its `get(map, key)`, but if there is
  no `operator[]`, it's just a `boost::readable_property_map_tag`
- Some const correctness to avoid copying maps with state
  or heavy keys in `get(map, key)` / `put(map, key, value)`
- Base the category of a wrapping pmap on what it offers instead
  of just forwarding the base property map's category
- Tried to do something like mutable lvalue pmap:
  * `value_type& operator[](key&)`
  * `ref get(map, const key&)`
  * `put(map, const key&, const value_type&)`
  and non-mutable lvalue pmap:
  * `const value_type& operator[](const key&)`
  * `ref get(map, const key&)`
  but not everything fits properly...
2021-10-08 15:38:47 +02:00
Sébastien Loriot 8a0b290478 char* -> string 2021-10-05 17:42:25 +02:00
Sébastien Loriot efbd86df7f extra manual fixes 2021-10-05 17:42:21 +02:00
Jane Tournois 1e334366f7 improve example 2021-10-05 17:04:13 +02:00
Jane Tournois 276ea18313 formatting (Mael's review) 2021-10-05 11:12:49 +02:00
Sébastien Loriot 6dad5b6922 rename file 2021-10-04 11:00:40 +02:00
Sébastien Loriot 8350dea94a char* -> std::string 2021-10-04 09:49:24 +02:00
Sébastien Loriot 47028cd184 automatically move data files in data dir + update paths
Done for OFF/OBJ/STL/XYZ/PWN/PLY
2021-10-04 09:42:49 +02:00
Jane Tournois 7e673974cc add facet_distance 2021-10-01 10:30:08 +02:00
Jane Tournois 9bbd1b179a add edge sizing field management 2021-10-01 09:23:25 +02:00
Jane Tournois bf2b30d9ce fix parameter name in example 2021-09-30 14:53:22 +02:00
Jane Tournois 993802046c add mesh_edge_size 2021-09-30 14:28:57 +02:00
Jane Tournois b3e528c901 use parameters in example 2021-09-28 15:37:15 +02:00
Jane Tournois 6357211695 deprecate smooth_mesh() and rename it angle_and_area_smoothing() 2021-09-27 17:05:14 +02:00
Jane Tournois 73b0cb5369 add make_surface_mesh to be implemented with Mesh_3 2021-09-27 11:01:18 +02:00
Jane Tournois 9621e79d20 change input
(elephant is not in the data folder)
2021-09-14 13:09:38 +02:00
Jane Tournois ff0425db2e add minimal example and fix compilation 2021-09-13 10:56:30 +02:00
Sebastien Loriot 1bd8e07743
Merge pull request #5851 from maxGimeno/PMP-Add_a_visitor_to_orient_polygon_soup-maxGimeno
PMP: Add a visitor to the orientation function
2021-08-30 10:45:41 +02:00
Sébastien Loriot cc3db6bf60 rename variable 2021-08-09 10:43:08 +02:00
Sébastien Loriot b539d4a301 extend the visitor to report non-manifold vertex in an umbrella without nm edge 2021-08-05 18:13:35 +02:00
Sébastien Loriot bc1fe892d8 remove const& 2021-08-02 10:40:12 +02:00
Sébastien Loriot d2a3f35d03 replace point -> vertex 2021-08-02 10:05:59 +02:00
Sebastien Loriot a16105d548 fix phrasing
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2021-08-02 09:58:54 +02:00
Maxime Gimeno c99fdebafe add a non_manifold_vertex() function to the visitor 2021-07-30 12:17:06 +02:00
Maxime Gimeno e52775f943 Documentation 2021-07-29 11:32:35 +02:00
Maxime Gimeno 2e3ebb1916 Add a visitor to the example 2021-07-29 10:13:05 +02:00
Dmitry Anisimov d37eb48ade using new OFF reader from IO 2021-06-18 14:59:26 +02:00
Dmitry Anisimov aaf55dbaa0 Merge remote-tracking branch 'maxGimeno/PMP-compare_faces_from_meshes-maxGimeno' into gsoc2019-PMPHDist-martinskrodzki 2021-06-18 14:45:24 +02:00
Dmitry Anisimov 859bae9036 sebastien review 2021-06-18 14:44:09 +02:00
Maxime Gimeno 553445a771 Changes after review 1 2021-05-26 11:16:09 +02:00
Maxime Gimeno acd6bb3c57 Fix namespace and remove unused typedef 2021-05-20 09:00:29 +02:00
Maxime Gimeno 797c5ad08b Merge remote-tracking branch 'cgal/master' into PMP-compare_faces_from_meshes-maxGimeno 2021-05-20 08:58:24 +02:00
Dmitry Anisimov c4e23b5ced tested with different concurrency tags, cleanup, added empty test for the new function 2021-05-05 15:29:48 +02:00
Dmitry Anisimov 3c0fc281e8 more optimizations, using boost any and factoring out kd tree, adding metis check 2021-05-05 13:17:23 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Dmitry Anisimov 5fe5bb049c Update Polygon_mesh_processing/examples/Polygon_mesh_processing/hausdorff_bounded_error_distance_example.cpp
Co-authored-by: Sebastien Loriot <sebastien.loriot@cgal.org>
2021-04-30 09:27:21 +02:00
Dmitry Anisimov 7fd291c588 added input-dependent infinity value + assertions 2021-04-29 17:43:00 +02:00
Sébastien Loriot d4e7879464 make the code work with different input mesh types 2021-04-29 15:45:06 +02:00
Sébastien Loriot 93855b1af1 Merge PMP-compare_faces_from_meshes-maxGimeno into gsoc2019-PMPHDist-martinskrodzki 2021-04-29 10:36:22 +02:00
Sébastien Loriot b4787adc19 allow difference mesh types 2021-04-29 10:35:26 +02:00
Laurent Rineau c091c7f86e Merge pull request #5532 from lrineau/Kernel_23-Do_interesect__without_division-GF
Remove operator/ from CGAL::Mpzf and implement Do_intersect_3 with RT only (without division)
2021-04-28 15:24:15 +02:00
Dmitry Anisimov a2f460c9d6 Merge branch 'master' into gsoc2019-PMPHDist-martinskrodzki 2021-04-27 18:37:32 +02:00
Dmitry Anisimov 95ab1a57a0 tests moved to the test folder 2021-04-27 11:22:55 +02:00
Dmitry Anisimov d5e1c1fdd9 shorter bunny test 2021-04-26 15:38:06 +02:00
Dmitry Anisimov 4cf4e2c50a return a pair of realizing triangles, still to be discussed 2021-04-26 15:21:58 +02:00
Dmitry Anisimov 69c48308cc added test for realizing triangles, updated how the bounds are stored, removed useless types 2021-04-26 13:04:59 +02:00
Dmitry Anisimov f92e24f9c2 now we can return realizing triangles 2021-04-23 16:01:32 +02:00
Dmitry Anisimov 1b892e0558 subdivision tested - it works 2021-04-23 15:41:57 +02:00
Dmitry Anisimov 6bf1966012 partially fixed issue for match faces + added minimum example for that issue 2021-04-23 14:37:58 +02:00
Dmitry Anisimov 33d2f1073a optimized AABB tree calls 2021-04-21 11:48:56 +02:00
Dmitry Anisimov 4ebbaba856 added bunny benchmarks versus original paper 2021-04-19 14:00:03 +02:00
Maxime Gimeno c49152359c update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Dmitry Anisimov 50fc1cabd9 faster queries for close meshes, now traversal traits initial bounds depend on error_bound 2021-04-09 18:19:54 +02:00
Dmitry Anisimov 63db510aef epeck support, fixed bug with infinity value 2021-04-09 16:03:55 +02:00
Dmitry Anisimov dc9e958503 removed some asserts and types, added const, make it compile with epeck, but epeck gives wrong results 2021-04-09 12:35:18 +02:00
Dmitry Anisimov 410b03bc1f added z-shaped test 2021-04-09 10:46:01 +02:00