Blender V5.3
GEO_point_merge.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "BLI_index_mask.hh"
8
10
11namespace blender {
12
13struct PointCloud;
14
18
19namespace geometry {
20
25PointCloud *point_merge_by_distance(const PointCloud &src_points,
26 const float merge_distance,
27 const IndexMask &selection,
28 const bke::AttributeFilter &attribute_filter);
29PointCloud *merge_points(const PointCloud &src_points,
30 const IndexMask &selection,
31 Span<int> merge_ids,
32 const bke::AttributeFilter &attribute_filter);
33
34} // namespace geometry
35} // namespace blender
PointCloud * point_merge_by_distance(const PointCloud &src_points, const float merge_distance, const IndexMask &selection, const bke::AttributeFilter &attribute_filter)
PointCloud * merge_points(const PointCloud &src_points, const IndexMask &selection, Span< int > merge_ids, const bke::AttributeFilter &attribute_filter)
BMesh Iterators.