Blender V5.0
bmesh_edgenet.hh File Reference
#include "bmesh_class.hh"

Go to the source code of this file.

Functions

void BM_mesh_edgenet (BMesh *bm, bool use_edge_tag, bool use_new_face_tag)

Function Documentation

◆ BM_mesh_edgenet()

void BM_mesh_edgenet ( BMesh * bm,
bool use_edge_tag,
bool use_new_face_tag )

Fill in faces from an edgenet made up of boundary and wire edges.

Note
New faces currently don't have their normals calculated and are flipped randomly. The caller needs to flip faces correctly.
Parameters
bmThe mesh to operate on.
use_edge_tagOnly fill tagged edges.

Definition at line 415 of file bmesh_edgenet.cc.

References BLI_assert, BLI_linklist_free_pool(), BLI_linklist_prepend_pool(), BLI_mempool_create(), BLI_mempool_destroy(), BLI_mempool_len(), BLI_MEMPOOL_NOP, bm, bm_edge_step_ok(), bm_edgenet_edge_get_next(), bm_edgenet_face_from_path(), bm_edgenet_path_calc_best(), BM_EDGES_OF_MESH, BM_elem_flag_enable, BM_elem_flag_set, BM_elem_index_set, BM_ELEM_TAG, BM_FACE, BM_FACE_FIRST_LOOP, BM_ITER_MESH, BM_LOOP, BM_mesh_elem_index_ensure(), BM_VERT, BMLoop::e, e, MEM_calloc_arrayN(), MEM_freeN(), BMLoop::next, and UINT_MAX.

Referenced by BKE_mesh_remesh_voxel_fix_poles(), bmo_edgenet_fill_exec(), bmo_holes_fill_exec(), and slice_paint_mask().