Blender  V3.3
GEO_mesh_merge_by_distance.hh
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #pragma once
4 
5 #include <optional>
6 
7 #include "BLI_index_mask.hh"
8 #include "BLI_span.hh"
9 
10 struct Mesh;
11 
16 namespace blender::geometry {
17 
25 std::optional<Mesh *> mesh_merge_by_distance_all(const Mesh &mesh,
26  IndexMask selection,
27  float merge_distance);
28 
36 std::optional<Mesh *> mesh_merge_by_distance_connected(const Mesh &mesh,
37  Span<bool> selection,
38  float merge_distance,
39  bool only_loose_edges);
40 
41 } // namespace blender::geometry
std::optional< Mesh * > mesh_merge_by_distance_connected(const Mesh &mesh, Span< bool > selection, float merge_distance, bool only_loose_edges)
std::optional< Mesh * > mesh_merge_by_distance_all(const Mesh &mesh, IndexMask selection, float merge_distance)