Blender V5.3
bmo_removedoubles.cc File Reference
#include "MEM_guardedalloc.h"
#include "BLI_array.hh"
#include "BLI_kdtree.hh"
#include "BLI_listbase.hh"
#include "BLI_map.hh"
#include "BLI_math_base.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_multi_value_map.hh"
#include "BLI_stack.hh"
#include "BLI_stack_c.hh"
#include "BLI_utildefines_stack.hh"
#include "BKE_customdata.hh"
#include "bmesh.hh"
#include "intern/bmesh_operators_private.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define ELE_DEL   1
#define EDGE_COL   2
#define VERT_IN_FACE   4
#define LOOP_MAP_VERT_INIT(l_init, v_map, is_del)
#define VERT_KEEP   8
#define EDGE_MARK   1

Functions

static void blender::remdoubles_splitface (BMFace *f, BMesh *bm, BMOperator *op, BMOpSlot *slot_targetmap)
static BMFace * blender::remdoubles_createface (BMesh *bm, BMFace *f, BMOpSlot *slot_targetmap, bool *r_created)
void blender::bmo_weld_verts_exec (BMesh *bm, BMOperator *op)
void blender::bmo_pointmerge_facedata_exec (BMesh *bm, BMOperator *op)
void blender::bmo_average_vert_facedata_exec (BMesh *bm, BMOperator *op)
void blender::bmo_pointmerge_exec (BMesh *bm, BMOperator *op)
void blender::bmo_collapse_exec (BMesh *bm, BMOperator *op)
static void blender::bmo_collapsecon_do_layer (BMesh *bm, const int layer, const short oflag)
void blender::bmo_collapse_uvs_exec (BMesh *bm, BMOperator *op)
static int * blender::bmesh_find_doubles_by_distance_impl (BMesh *bm, BMVert *const *verts, const int verts_len, const float dist, const bool has_keep_vert)
static int * blender::bmesh_find_doubles_by_distance_connected_impl (BMesh *bm, BMVert *const *verts, const int verts_len, const float dist, const bool has_keep_vert)
static void blender::bmesh_find_doubles_common (BMesh *bm, BMOperator *op, BMOperator *optarget, BMOpSlot *optarget_slot)
void blender::bmo_remove_doubles_exec (BMesh *bm, BMOperator *op)
void blender::bmo_find_doubles_exec (BMesh *bm, BMOperator *op)

Detailed Description

Welding and merging functionality.

Definition in file bmo_removedoubles.cc.

Macro Definition Documentation

◆ EDGE_COL

#define EDGE_COL   2

Definition at line 64 of file bmo_removedoubles.cc.

Referenced by blender::bmo_weld_verts_exec().

◆ EDGE_MARK

#define EDGE_MARK   1

Definition at line 370 of file bmo_removedoubles.cc.

◆ ELE_DEL

#define ELE_DEL   1

Definition at line 63 of file bmo_removedoubles.cc.

Referenced by blender::bmo_weld_verts_exec().

◆ LOOP_MAP_VERT_INIT

#define LOOP_MAP_VERT_INIT ( l_init,
v_map,
is_del )
Value:
v_map = l_init->v; \
is_del = BMO_vert_flag_test_bool(bm, v_map, ELE_DEL); \
if (is_del) { \
v_map = static_cast<BMVert *>(BMO_slot_map_elem_get(slot_targetmap, v_map)); \
} \
((void)0)
#define BMO_vert_flag_test_bool(bm, e, oflag)
#define ELE_DEL

Referenced by blender::remdoubles_createface().

◆ VERT_IN_FACE

#define VERT_IN_FACE   4

Definition at line 65 of file bmo_removedoubles.cc.

Referenced by blender::remdoubles_createface().

◆ VERT_KEEP