Blender
V3.3
|
#include "MEM_guardedalloc.h"
#include "BLI_ghash.h"
#include "BLI_math.h"
#include "bmesh.h"
#include "intern/bmesh_operators_private.h"
Go to the source code of this file.
Classes | |
struct | VertAccum |
Macros | |
#define | ELE_VERT_ADJUST (1 << 0) |
#define | ELE_FACE_ADJUST (1 << 1) |
Functions | |
void | bmo_planar_faces_exec (BMesh *bm, BMOperator *op) |
Iteratively flatten 4+ sided faces.
Definition in file bmo_planar_faces.c.
#define ELE_FACE_ADJUST (1 << 1) |
Definition at line 19 of file bmo_planar_faces.c.
#define ELE_VERT_ADJUST (1 << 0) |
Definition at line 18 of file bmo_planar_faces.c.
void bmo_planar_faces_exec | ( | BMesh * | bm, |
BMOperator * | op | ||
) |
Definition at line 26 of file bmo_planar_faces.c.
References BLI_assert, BLI_ghash_clear(), BLI_ghash_ensure_p(), BLI_ghash_free(), BLI_ghash_ptr_new_ex(), BLI_ghashIterator_getKey(), BLI_ghashIterator_getValue(), BLI_mempool_calloc(), BLI_mempool_clear(), BLI_mempool_create(), BLI_mempool_destroy(), BLI_MEMPOOL_NOP, bm, BM_FACE, BM_face_calc_center_median_weighted(), BM_FACE_FIRST_LOOP, BM_face_normal_update(), BM_FACES_OF_VERT, BM_ITER_ELEM, BMO_face_flag_disable, BMO_face_flag_enable, BMO_face_flag_test, BMO_ITER_INDEX, BMO_slot_buffer_len(), BMO_slot_float_get(), BMO_slot_int_get(), BMO_vert_flag_enable, BMO_vert_flag_test, closest_to_plane_normalized_v3(), BMVert::co, VertAccum::co, VertAccum::co_tot, ELE_FACE_ADJUST, ELE_VERT_ADJUST, eps, float(), GHASH_ITER, interp_v3_v3v3(), BMFace::len, len_squared_v3v3(), MEM_freeN, MEM_mallocN, BMLoop::next, BMFace::no, NULL, plane_from_point_normal_v3(), BMOperator::slots_in, square_f(), BMLoop::v, and v.