Blender V5.3
bmesh_boolean.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 <array>
12
13#include "BLI_span.hh"
14
15#include "bmesh_class.hh"
16
17namespace blender {
18
20 Span<std::array<BMLoop *, 3>> looptris,
21 int (*test_fn)(BMFace *f, void *user_data),
22 void *user_data,
23 int nshapes,
24 bool use_self,
25 bool keep_hidden,
26 bool hole_tolerant,
27 int boolean_mode);
28
40 Span<std::array<BMLoop *, 3>> looptris,
41 int (*test_fn)(BMFace *f, void *user_data),
42 void *user_data,
43 int nshapes,
44 bool use_self,
45 bool use_separate_all,
46 bool hole_tolerant,
47 bool keep_hidden);
48
49} // namespace blender
BMesh Iterators.
bool BM_mesh_boolean(BMesh *, Span< std::array< BMLoop *, 3 > > looptris, int(*test_fn)(BMFace *, void *), void *, const int, const bool, const bool, const bool, const int)
bool BM_mesh_boolean_knife(BMesh *, Span< std::array< BMLoop *, 3 > > looptris, int(*test_fn)(BMFace *, void *), void *, const int, const bool, const bool, const bool, const bool)