|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| static BMVert * | bm_vert_copy (BMesh *bm_dst, const std::optional< BMCustomDataCopyMap > &cd_vert_map, BMVert *v_src) |
| static BMEdge * | bm_edge_copy_with_arrays (BMesh *bm_dst, const std::optional< BMCustomDataCopyMap > &cd_edge_map, BMEdge *e_src, BMVert **verts_dst) |
| static BMFace * | bm_face_copy_with_arrays (BMesh *bm_dst, const std::optional< BMCustomDataCopyMap > cd_face_map, const std::optional< BMCustomDataCopyMap > &cd_loop_map, BMFace *f_src, BMVert **verts_dst, BMEdge **edges_dst) |
| void | BM_mesh_copy_arrays (BMesh *bm_src, BMesh *bm_dst, BMVert **verts_src, uint verts_src_len, BMEdge **edges_src, uint edges_src_len, BMFace **faces_src, uint faces_src_len) |
Duplicate geometry from one mesh from another.
Definition in file bmesh_mesh_duplicate.cc.
|
static |
Definition at line 31 of file bmesh_mesh_duplicate.cc.
References BM_CREATE_SKIP_CD, BM_edge_create(), BM_elem_attrs_copy(), BM_elem_index_get, BMEdge::v1, and BMEdge::v2.
Referenced by BM_mesh_copy_arrays().
|
static |
Definition at line 48 of file bmesh_mesh_duplicate.cc.
References BLI_array_alloca, BM_CREATE_SKIP_CD, BM_elem_attrs_copy(), BM_elem_index_get, BM_face_create(), BM_FACE_FIRST_LOOP, BMLoop::e, BMFace::len, BMLoop::next, and BMLoop::v.
Referenced by BM_mesh_copy_arrays().
| void BM_mesh_copy_arrays | ( | BMesh * | bm_src, |
| BMesh * | bm_dst, | ||
| BMVert ** | verts_src, | ||
| uint | verts_src_len, | ||
| BMEdge ** | edges_src, | ||
| uint | edges_src_len, | ||
| BMFace ** | faces_src, | ||
| uint | faces_src_len ) |
Geometry must be completely isolated.
Definition at line 98 of file bmesh_mesh_duplicate.cc.
References BM_EDGE, bm_edge_copy_with_arrays(), BM_elem_index_set, bm_face_copy_with_arrays(), BM_VERT, bm_vert_copy(), CustomData_bmesh_copy_map_calc(), BMesh::edata, BMesh::elem_index_dirty, BMesh::ldata, MEM_freeN(), MEM_mallocN, BMesh::pdata, and BMesh::vdata.
Referenced by mesh_separate_arrays().
|
static |
Definition at line 17 of file bmesh_mesh_duplicate.cc.
References BM_CREATE_SKIP_CD, BM_elem_attrs_copy(), BM_vert_create(), and BMVert::co.
Referenced by BM_mesh_copy_arrays().