Blender V5.3
mesh_mirror.cc File Reference
#include "MEM_guardedalloc.h"
#include "DNA_object_types.h"
#include "BKE_editmesh.hh"
#include "BKE_mesh.hh"
#include "BKE_mesh_types.hh"
#include "BLI_kdtree.hh"
#include "ED_mesh.hh"

Go to the source code of this file.

Classes

struct  blender::MirrTopoVert_t

Namespaces

namespace  blender
 BMesh Iterators.

Mesh Spatial Mirror API

#define KD_THRESH   0.00002f
static struct  blender::MirrKdStore = {nullptr}
void blender::ED_mesh_mirror_spatial_table_begin (Object *ob, Mesh *mesh_eval)
int blender::ED_mesh_mirror_spatial_table_lookup (Object *ob, Mesh *mesh_eval, const float co[3])
void blender::ED_mesh_mirror_spatial_table_end (Object *ob)

Mesh Topology Mirror API

using blender::MirrTopoHash_t = uint
static int blender::mirrtopo_hash_sort (const void *l1, const void *l2)
static int blender::mirrtopo_vert_sort (const void *v1, const void *v2)
bool blender::ED_mesh_mirrtopo_recalc_check (BMesh *bm, Mesh *mesh, MirrTopoStore_t *mesh_topo_store)
void blender::ED_mesh_mirrtopo_init (BMesh *bm, Mesh *mesh, MirrTopoStore_t *mesh_topo_store, bool skip_bm_vert_array_init)
void blender::ED_mesh_mirrtopo_free (MirrTopoStore_t *mesh_topo_store)

Detailed Description

Mirror calculation for edit-mode and object mode.

Definition in file editors/mesh/mesh_mirror.cc.

Macro Definition Documentation

◆ KD_THRESH

#define KD_THRESH   0.00002f