Blender V5.3
bmesh_polygon_edgenet.hh File Reference
#include "BLI_vector.hh"
#include "bmesh_class.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Face Split Edge-Net

BM_face_split_edgenet and helper functions.

Note
Don't use BM_edge_is_wire or BM_edge_is_boundary since we need to take flagged faces into account. Also take care accessing e->l directly.
bool blender::BM_face_split_edgenet (BMesh *bm, BMFace *f, BMEdge **edge_net, const int edge_net_len, Vector< BMFace * > *r_face_arr)
Face Split Edge-Net Connect Islands

BM_face_split_edgenet_connect_islands and helper functions.

Connect isolated mesh 'islands' so they form legal regions from which we can create faces.

Intended to be used as a pre-processing step for BM_face_split_edgenet.

Warning
Currently this risks running out of stack memory (#alloca), likely we'll pass in a memory arena (cleared each use) eventually.
bool blender::BM_face_split_edgenet_connect_islands (BMesh *bm, BMFace *f, BMEdge **edge_net_init, const uint edge_net_init_len, bool use_partial_connect, MemArena *mem_arena, BMEdge ***r_edge_net_new, uint *r_edge_net_new_len)