diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-03 11:29:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-03 12:10:57 +0300 |
commit | c4e041da23b9c45273fcd4874308c536b6a315d1 (patch) | |
tree | 9afdea81b57e801d3a1930988ebf3a2145a408bb /source/blender/bmesh/intern/bmesh_polygon_edgenet.h | |
parent | 7c4fc5b58d2e7982aefbba093cb8f1dc36b64884 (diff) |
Cleanup: move public doc-strings into headers for 'bmesh'
Some minor improvements to doc-strings too.
Ref T92709
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_polygon_edgenet.h')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_polygon_edgenet.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_polygon_edgenet.h b/source/blender/bmesh/intern/bmesh_polygon_edgenet.h index 6833f067421..b346d37d546 100644 --- a/source/blender/bmesh/intern/bmesh_polygon_edgenet.h +++ b/source/blender/bmesh/intern/bmesh_polygon_edgenet.h @@ -20,6 +20,14 @@ * \ingroup bmesh */ +/** + * Splits a face into many smaller faces defined by an edge-net. + * handle customdata and degenerate cases. + * + * - Isolated holes or unsupported face configurations, will be ignored. + * - Customdata calculations aren't efficient + * (need to calculate weights for each vert). + */ bool BM_face_split_edgenet(BMesh *bm, BMFace *f, BMEdge **edge_net, @@ -27,6 +35,14 @@ bool BM_face_split_edgenet(BMesh *bm, BMFace ***r_face_arr, int *r_face_arr_len); +/** + * For when the edge-net has holes in it-this connects them. + * + * \param use_partial_connect: Support for handling islands connected by only a single edge, + * \note that this is quite slow so avoid using where possible. + * \param mem_arena: Avoids many small allocs & should be cleared after each use. + * take care since \a edge_net_new is stored in \a r_edge_net_new. + */ bool BM_face_split_edgenet_connect_islands(BMesh *bm, BMFace *f, BMEdge **edge_net_init, |