Blender V4.3
mesh_copy_selection.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::geometry
 

Functions

static void blender::geometry::remap_verts (const OffsetIndices< int > src_faces, const OffsetIndices< int > dst_faces, const int src_verts_num, const IndexMask &vert_mask, const IndexMask &edge_mask, const IndexMask &face_mask, const Span< int2 > src_edges, const Span< int > src_corner_verts, MutableSpan< int2 > dst_edges, MutableSpan< int > dst_corner_verts)
 
static void blender::geometry::remap_edges (const OffsetIndices< int > src_faces, const OffsetIndices< int > dst_faces, const int src_edges_num, const IndexMask &edge_mask, const IndexMask &face_mask, const Span< int > src_corner_edges, MutableSpan< int > dst_corner_edges)
 
static void blender::geometry::copy_loose_vert_hint (const Mesh &src, Mesh &dst)
 
static void blender::geometry::copy_loose_edge_hint (const Mesh &src, Mesh &dst)
 
static void blender::geometry::copy_overlapping_hint (const Mesh &src, Mesh &dst)
 
static void blender::geometry::gather_vert_attributes (const Mesh &mesh_src, const bke::AttributeFilter &attribute_filter, const IndexMask &vert_mask, Mesh &mesh_dst)
 
std::optional< Mesh * > blender::geometry::mesh_copy_selection (const Mesh &src_mesh, const VArray< bool > &selection, bke::AttrDomain selection_domain, const bke::AttributeFilter &attribute_filter={})
 
std::optional< Mesh * > blender::geometry::mesh_copy_selection_keep_verts (const Mesh &src_mesh, const VArray< bool > &selection, bke::AttrDomain selection_domain, const bke::AttributeFilter &attribute_filter={})
 
std::optional< Mesh * > blender::geometry::mesh_copy_selection_keep_edges (const Mesh &mesh, const VArray< bool > &selection, bke::AttrDomain selection_domain, const bke::AttributeFilter &attribute_filter={})