Blender V5.3
bmesh_path.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
10
11#include "BLI_compiler_attrs.hh"
12#include "BLI_sys_types.hh"
13
14#include "bmesh_class.hh"
15
16namespace blender {
17
18struct LinkNode;
19
24
26 BMVert *v_src,
27 BMVert *v_dst,
28 const BMCalcPathParams *params,
29 bool (*filter_fn)(BMVert *, void *),
30 void *user_data) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1, 2, 3, 5);
31
33 BMEdge *e_src,
34 BMEdge *e_dst,
35 const BMCalcPathParams *params,
36 bool (*filter_fn)(BMEdge *, void *),
37 void *user_data) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1, 2, 3, 5);
38
40 BMFace *f_src,
41 BMFace *f_dst,
42 const BMCalcPathParams *params,
43 bool (*filter_fn)(BMFace *, void *),
44 void *user_data) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1, 2, 3, 5);
45
46} // namespace blender
BMesh Iterators.
unsigned int uint
Definition BKE_text.h:55
LinkNode * BM_mesh_calc_path_face(BMesh *bm, BMFace *f_src, BMFace *f_dst, const BMCalcPathParams *params, bool(*filter_fn)(BMFace *, void *user_data), void *user_data)
LinkNode * BM_mesh_calc_path_vert(BMesh *bm, BMVert *v_src, BMVert *v_dst, const BMCalcPathParams *params, bool(*filter_fn)(BMVert *, void *user_data), void *user_data)
LinkNode * BM_mesh_calc_path_edge(BMesh *bm, BMEdge *e_src, BMEdge *e_dst, const BMCalcPathParams *params, bool(*filter_fn)(BMEdge *, void *user_data), void *user_data)
bool ATTR_WARN_UNUSED_RESULT
void ATTR_NONNULL(1, 2)