Blender
V3.3
|
#include "DNA_modifier_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_alloca.h"
#include "BLI_heap.h"
#include "BLI_linklist.h"
#include "BLI_memarena.h"
#include "BLI_utildefines.h"
#include "BLI_polyfill_2d.h"
#include "BLI_polyfill_2d_beautify.h"
#include "bmesh.h"
#include "bmesh_triangulate.h"
Go to the source code of this file.
Functions | |
static void | bm_face_triangulate_mapping (BMesh *bm, BMFace *face, const int quad_method, const int ngon_method, const bool use_tag, BMOperator *op, BMOpSlot *slot_facemap_out, BMOpSlot *slot_facemap_double_out, MemArena *pf_arena, struct Heap *pf_heap) |
void | BM_mesh_triangulate (BMesh *bm, const int quad_method, const int ngon_method, const int min_vertices, const bool tag_only, BMOperator *op, BMOpSlot *slot_facemap_out, BMOpSlot *slot_facemap_double_out) |
Triangulate.
Definition in file bmesh_triangulate.c.
|
static |
a version of BM_face_triangulate that maps to BMOpSlot
Definition at line 30 of file bmesh_triangulate.c.
References BLI_array_alloca, BLI_assert, bm, BM_face_triangulate(), BMO_slot_map_elem_insert(), BMFace::len, LinkNode::link, MEM_freeN, LinkNode::next, next, and NULL.
Referenced by BM_mesh_triangulate().
void BM_mesh_triangulate | ( | BMesh * | bm, |
const int | quad_method, | ||
const int | ngon_method, | ||
const int | min_vertices, | ||
const bool | tag_only, | ||
BMOperator * | op, | ||
BMOpSlot * | slot_facemap_out, | ||
BMOpSlot * | slot_facemap_double_out | ||
) |
Definition at line 77 of file bmesh_triangulate.c.
References BLI_heap_free(), BLI_heap_new_ex(), BLI_memarena_free(), BLI_memarena_new(), BLI_POLYFILL_ALLOC_NGON_RESERVE, BLI_POLYFILL_ARENA_SIZE, bm, BM_elem_flag_test, BM_ELEM_TAG, BM_face_kill(), BM_face_triangulate(), bm_face_triangulate_mapping(), BM_FACES_OF_MESH, BM_ITER_MESH, BMFace::len, LinkNode::link, MEM_freeN, MOD_TRIANGULATE_NGON_BEAUTY, LinkNode::next, next, and NULL.
Referenced by bc_triangulate_mesh(), bmo_triangulate_exec(), blender::io::alembic::ABCGenericMeshWriter::do_write(), SCULPT_dynamic_topology_triangulate(), triangulate_mesh(), and blender::nodes::node_geo_triangulate_cc::triangulate_mesh_selection().