Blender V5.0
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
18 blender::Span<std::array<BMLoop *, 3>> looptris,
19 int (*test_fn)(BMFace *f, void *user_data),
20 void *user_data,
21 int nshapes,
22 bool use_self,
23 bool keep_hidden,
24 bool hole_tolerant,
25 int boolean_mode);
26
38 blender::Span<std::array<BMLoop *, 3>> looptris,
39 int (*test_fn)(BMFace *f, void *user_data),
40 void *user_data,
41 int nshapes,
42 bool use_self,
43 bool use_separate_all,
44 bool hole_tolerant,
45 bool keep_hidden);
bool BM_mesh_boolean_knife(BMesh *bm, blender::Span< std::array< BMLoop *, 3 > > looptris, int(*test_fn)(BMFace *f, void *user_data), void *user_data, int nshapes, bool use_self, bool use_separate_all, bool hole_tolerant, bool keep_hidden)
bool BM_mesh_boolean(BMesh *bm, blender::Span< std::array< BMLoop *, 3 > > looptris, int(*test_fn)(BMFace *f, void *user_data), void *user_data, int nshapes, bool use_self, bool keep_hidden, bool hole_tolerant, int boolean_mode)
BMesh * bm