Blender V5.0
GEO_mesh_copy_selection.hh File Reference
#include <optional>
#include "BLI_virtual_array.hh"
#include "BKE_attribute_filter.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::fn
namespace  blender::bke
namespace  blender::geometry

Functions

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={})