Commit Graph

1918 Commits

Author SHA1 Message Date
Sébastien Loriot 11a5b394b8 use Range::size() 2023-06-15 18:44:20 +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 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 852b3b664b expand -CGAL_CPP17_INLINE macro 2023-06-15 10:40:54 +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
Mael Rouxel-Labbé a69a2f54c6 Rename to avoid conflict with STL 2023-05-16 14:21:27 +02:00
Mael Rouxel-Labbé 7a2e5412e9 Clarify that empty() does not clean garbage or remove property maps 2023-05-15 12:42:42 +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é 931270b66d Introduce CGAL::empty(), which only clears combinatorial information
And leaves everything else like internal property maps and garbage.
2023-05-15 12:35:52 +02:00
Laurent Rineau 1b84329710 Merge pull request #7229 from GilesBathgate/General-safe_bool_idiom-GilesBathgate
Remove use of the safe-bool idiom, replace with explicit operator bool
2023-05-03 15:05:45 +02:00
Sébastien Loriot af337edf4d boost::reference_wrapper ---> std::reference_wrapper 2023-04-29 08:35:13 +02:00
Sébastien Loriot 4fb4ca2b53 std::empty needs c++17
remove this commit before merging in 6.0
2023-04-28 23:39:37 +02:00
Guillaume Damiand 519c7cc1a5 rename add_in_graphic_buffer into add_in_graphic_storage 2023-04-28 15:25:40 +02:00
Guillaume Damiand 8f29e4d323 Rename class graphic buffer 2023-04-27 15:48:42 +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 a04035879d boost::is_const -> std::is_const 2023-04-23 22:37:07 +02:00
Sébastien Loriot d4d2225801 boost::is_reference -> std::is_reference 2023-04-23 22:37:07 +02:00
Sébastien Loriot 8740b244a2 boost::distance -> std::distance
boost's version is working on std::pair but we decided to no longer
consider iterator pairs as ranges
2023-04-23 22:37:07 +02:00
Sébastien Loriot 61834d5a26 boost::remove_const -> std::remove_const_t 2023-04-23 19:07:54 +02:00
Sébastien Loriot fc034c6a5d boost::unit -> std::uint 2023-04-23 18:40:39 +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
Andreas Fabri c330beb504 Add operator!=(void*) 2023-04-14 17:04:02 +01:00
Sébastien Loriot 28c97d293f fix warnings 2023-04-11 09:25:29 +02:00
Sébastien Loriot fb7d892e36 add help for geom traits for function dealing with polygon soups 2023-04-06 19:24:04 +02:00
Sébastien Loriot 3262b21ed7 do not evaluate other options if the parameter is provided 2023-04-06 19:24:04 +02:00
Sébastien Loriot cb672d4d90 Merge remote-tracking branch 'cgal/master' into PMP-decimation 2023-04-04 14:25:17 +02:00
Sébastien Loriot 39b84d0433 fix specialization 2023-03-31 14:39:33 +02:00
Sébastien Loriot 5e4e9a9001 fix warning 2023-03-31 14:39:33 +02:00
Laurent Rineau 41f0e07022 Merge pull request #7343 from afabri/Surface_mesh-points-GF
Surface_mesh: Add example for accessing points
2023-03-31 11:10:39 +02:00
Laurent Rineau e96fbafac2 Merge pull request #7308 from afabri/BGL-document_use_binary_mode-GF
BGL: Document use_binary_mode
2023-03-21 16:14:16 +01:00
Andreas Fabri fcef17c918 Surface_mesh: Add example for accessing points 2023-03-21 09:44:49 +01:00
Andreas Fabri 2d203cae0c BGL: Document use_binary_mode 2023-03-06 21:27:04 +00:00
Sébastien Loriot b1d2744821 Merge branch 'master' into PMP-decimation 2023-03-02 14:24:27 +01:00
Sébastien Loriot c587df44a6 fix correspondance between faces 2023-02-24 14:45:01 +01:00
Sébastien Loriot 9242a810c4 Merge remote-tracking branch 'cgal/master' into Region_growing-revision-soesau 2023-02-07 11:31:55 +01:00
Sébastien Loriot dbccebf7df clean up doc and API of new property maps 2023-02-06 18:32:41 +01:00
Giles Bathgate 679ee1f870 Remove use of the safe-bool idiom, replace with explicit operator bool 2023-01-30 19:39:42 +00:00
Sébastien Loriot ee246c87c5 fix function name and add missing constructor 2023-01-25 17:08:27 +01:00
Mael 4a477c248e
Merge branch 'master' into dev/drawGraphColor 2023-01-19 14:37:45 +01:00
Sébastien Loriot cd76994056 rename property map and deprecated old name 2023-01-18 13:45:37 +01:00
Mael 4d22c90474
Merge branch 'master' into feature/bug_documentation_spell_20221113 2023-01-04 10:06:45 +01:00
Sebastien Loriot f5c41bd712
Merge pull request #7022 from MaelRL/Weights-v2.0-GF-master
Weights fixes (master)
2022-12-08 15:22:19 +01:00
Mael Rouxel-Labbé 28663265c6 Merge remote-tracking branch 'cgal/master' into PMP-snap_no_deg_faces_created 2022-12-08 14:35:48 +01:00
Mael Rouxel-Labbé eecd538759 Fix typo 2022-12-08 10:35:48 +01:00
Mael Rouxel-Labbé a8c792c4e9 Anticipate some warnings 2022-12-08 10:29:04 +01:00
Mael Rouxel-Labbé 6086830fc2 No point checking for null faces in faces(g) 2022-12-08 01:07:26 +01:00
Mael Rouxel-Labbé 80d4abdb0b Restore default coloring functor 2022-12-08 01:02:40 +01:00
Mael Rouxel-Labbé 7014aa0301 Use proper template / variable names for BGL graphs 2022-12-08 01:01:15 +01:00
Mael 0ff7882997
Merge branch 'master' into feature/bug_documentation_spell_20221113 2022-12-06 22:21:06 +01:00
Sébastien Loriot d3b13fb11c Merge branch 'cgal/5.5.x-branch' 2022-12-05 19:00:39 +01:00
Sebastien Loriot 887e175361
Merge pull request #6984 from janetournois/PSP-fix_has_normal_map-GF
Point_set_3 - `NP_helper::has_normal_map()` should not always return true
2022-12-05 18:59:42 +01:00
Laurent Rineau 67b5c791e9 Merge pull request #7075 from MaelRL/CGAL-Fix_some_links-GF
Update some links + https
2022-12-05 12:22:06 +01:00
Laurent Rineau 2f59b23d30 Merge pull request #7056 from MaelRL/BGL-Clarify_pmap_value_type-GF
Fix implicit conversion from `std::size_t` to `bool` creating ambiguous calls
2022-11-25 10:15:02 +01:00
Laurent Rineau 4ef4f036af Merge pull request #7056 from MaelRL/BGL-Clarify_pmap_value_type-GF
Fix implicit conversion from `std::size_t` to `bool` creating ambiguous calls
2022-11-25 10:14:16 +01:00
Mael Rouxel-Labbé ec8ec2f97a Merge branch 'Weights-v2.0-GF-5.5.x' into Weights-v2.0-GF-master 2022-11-24 11:59:24 +01:00
Mael Rouxel-Labbé 841373df6d Merge branch 'Weights-v2.0-GF' into Weights-v2.0-GF-5.5.x 2022-11-24 11:58:53 +01:00
Mael Rouxel-Labbé 0ecffe2913 Avoid conflicts between 'OpenMesh' as a mesh template parameter and namespace 2022-11-24 11:50:06 +01:00
Mael Rouxel-Labbé b5c21e1f5d Http -> https + update some dead links 2022-11-23 18:54:37 +01:00
Mael Rouxel-Labbé 181344f6cd Merge branch 'Weights-v2.0-GF-5.5.x' into Weights-v2.0-GF-master 2022-11-22 18:35:18 +01:00
Mael Rouxel-Labbé e5cb2f8225 Merge branch 'Weights-v2.0-GF' into Weights-v2.0-GF-5.5.x 2022-11-22 18:35:06 +01:00
Mael Rouxel-Labbé 613ae0d564 Proper fix after botched fix (adb10155fc) 2022-11-22 18:33:43 +01:00
Mael Rouxel-Labbé 491a77397c Merge branch 'Weights-v2.0-GF-5.5.x' into Weights-v2.0-GF-master 2022-11-22 17:53:26 +01:00
Mael Rouxel-Labbé f6ac98882a Merge remote-tracking branch 'mine/Weights-v2.0-GF' into Weights-v2.0-GF-5.5.x 2022-11-22 17:51:36 +01:00
Mael Rouxel-Labbé adb10155fc Use kernel traits to adapt put() to point coordinates type 2022-11-22 17:22:44 +01:00
Mael Rouxel-Labbé 8437eec29d Fix implicit conversion from std::size_t to bool creating ambiguous calls 2022-11-17 11:17:54 +01:00
albert-github 62a31babbd spelling corrections
Some spelling corrections (Directories starting with `B`)
2022-11-14 17:44:33 +01:00
Jane Tournois 38fd07dfc4 differentiate has_normal_map() between const and non-const point set 2022-11-08 10:24:43 +01:00
Sebastien Loriot 1a226ed877
Restore [revious API 2022-11-07 10:41:22 +01:00
Laurent Rineau 8c9281f440 Merge pull request #6642 from sloriot/gsoc2022-boost_np
Replace usage of Boost parameters with CGAL named function parameters
2022-11-07 10:08:38 +01:00
Laurent Rineau 987391d8ee Merge pull request #6930 from MaelRL/BGL-Use_is_valid_descriptor-GF
BGL graph validity improvements
2022-11-07 10:08:34 +01:00
Laurent Rineau 5cc489991a Merge pull request #7003 from sloriot/BGL-OpenMesh_const_point_operator
Add a const version of the operator
2022-11-07 10:08:10 +01:00
Laurent Rineau 53c63973ba Merge pull request #7003 from sloriot/BGL-OpenMesh_const_point_operator
Add a const version of the operator
2022-11-07 10:06:37 +01:00
Laurent Rineau 5239daab19
Merge pull request #7010 from afabri/PMP-BGL-shrunk-GF 2022-11-04 10:27:19 +01:00
Andreas Fabri f605c347ae Fixed typo: shrinked -> shrunk 2022-11-04 10:01:53 +01:00
Sébastien Loriot 54629efea2 make the operator const 2022-11-03 15:51:11 +01:00
Laurent Rineau 8e8153c0ac Merge pull request #6871 from afabri/CGAL_assertions-GF
CGAL: No longer per package assertions
2022-11-03 09:44:48 +01:00
Laurent Rineau d24b180293 Merge branch 'master' into gsoc2022-boost_np 2022-10-28 15:39:36 +02:00
Jane Tournois e99f442830 NP_helper::has_normal_map should not always return true
look for a normal_map in the point set, and in the named parameters

# Conflicts:
#	BGL/include/CGAL/boost/graph/named_params_helper.h
#	Point_set_processing_3/include/CGAL/jet_estimate_normals.h
2022-10-25 12:12:29 +02:00
Guillaume Damiand 8e93b8ccbc spaces 2022-10-17 18:02:52 +02:00
Guillaume Damiand 89f7e05dc6 some drawing functor are necessary non null; review of draw for lcc. 2022-10-14 16:03:25 +02:00
Guillaume Damiand afc0eaedf5 Review of draw for face graph, polyhedron and sm 2022-10-14 15:08:32 +02:00
Guillaume Damiand 24a8004ee0
Merge branch 'master' into gsoc2022-EBVs-Mostafa-ashraf19 2022-10-14 08:53:12 +02:00
Andreas Fabri 5392c3f8f7 selection 2022-10-12 08:10:47 +01:00
Mael Rouxel-Labbé 5545eee950 Revert "Check face graph validity and not just halfedge validity in post-reading BGL IO"
This reverts commit 226f84f2e6.

This is too strong and prevents reading some broken meshes that we still
want to be able to read.

Note that even is_valid_halfedge_graph() would return false
2022-10-07 10:34:32 +02:00
Mael Rouxel-Labbé bcf2f60be2 Revert "Add some descriptor validity preconditions to BGL iterators"
This reverts commit e67b73e849.

Some code such as copy_face_graph() uses iterators while building graphs
2022-10-07 09:19:54 +02:00
Mael Rouxel-Labbé a7f2aeb75c Remove unused typedef 2022-10-07 09:14:40 +02:00
Mostafa-ashraf19 74a68d4694 Applied new APIs version in face graph. 2022-10-06 21:22:05 +02:00
Mael Rouxel-Labbé e67b73e849 Add some descriptor validity preconditions to BGL iterators 2022-10-05 22:58:51 +02:00
Mael Rouxel-Labbé b2c0dc94b7 Fix bad precondition 2022-10-05 22:57:31 +02:00
Sébastien Loriot 7e6d750af9 add missing const 2022-10-05 18:26:08 +02:00
Mael Rouxel-Labbé 34ea88c73d Use is_valid_*_descriptor 2022-10-04 22:22:40 +02:00
Mael Rouxel-Labbé 60ecc51ba7 Code cleaning (no real changes) 2022-10-04 20:43:31 +02:00
Mael Rouxel-Labbé 13cbddd22b Regroup similar BGL helpers 2022-10-04 16:23:54 +02:00
Mael Rouxel-Labbé 723e44389c Drive-by boost removal 2022-10-04 15:36:34 +02:00
Mael Rouxel-Labbé 226f84f2e6 Check face graph validity and not just halfedge validity in post-reading BGL IO 2022-10-04 15:36:04 +02:00
Mael Rouxel-Labbé e61b4a838a Use is_valid_descriptors in graph checkers + fixes/improvements 2022-10-04 15:35:36 +02:00
Andreas Fabri d3fca65ae5 CGAL: No longer per package assertions 2022-09-23 12:49:40 +01:00
Sébastien Loriot 195605627d remove no longer needed file 2022-09-15 09:21:35 +02:00