Blender  V3.3
Functions
bmesh_polygon_edgenet.h File Reference

Go to the source code of this file.

Functions

bool BM_face_split_edgenet (BMesh *bm, BMFace *f, BMEdge **edge_net, int edge_net_len, BMFace ***r_face_arr, int *r_face_arr_len)
 
bool BM_face_split_edgenet_connect_islands (BMesh *bm, BMFace *f, BMEdge **edge_net_init, uint edge_net_init_len, bool use_partial_connect, struct MemArena *mem_arena, BMEdge ***r_edge_net_new, uint *r_edge_net_new_len) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1
 

Function Documentation

◆ BM_face_split_edgenet()

bool BM_face_split_edgenet ( BMesh bm,
BMFace f,
BMEdge **  edge_net,
int  edge_net_len,
BMFace ***  r_face_arr,
int *  r_face_arr_len 
)

◆ BM_face_split_edgenet_connect_islands()

bool BM_face_split_edgenet_connect_islands ( BMesh bm,
BMFace f,
BMEdge **  edge_net_init,
uint  edge_net_init_len,
bool  use_partial_connect,
struct MemArena mem_arena,
BMEdge ***  r_edge_net_new,
uint r_edge_net_new_len 
)

For when the edge-net has holes in it-this connects them.

Parameters
use_partial_connectSupport for handling islands connected by only a single edge,
Note
that this is quite slow so avoid using where possible.
Parameters
mem_arenaAvoids many small allocs & should be cleared after each use. take care since edge_net_new is stored in r_edge_net_new.