Blender  V2.93
bmesh_boolean.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  */
16 
17 #pragma once
18 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
28  struct BMLoop *(*looptris)[3],
29  const int looptris_tot,
30  int (*test_fn)(BMFace *f, void *user_data),
31  void *user_data,
32  const int nshapes,
33  const bool use_self,
34  const bool keep_hidden,
35  const bool hole_tolerant,
36  const int boolean_mode);
37 
39  struct BMLoop *(*looptris)[3],
40  const int looptris_tot,
41  int (*test_fn)(BMFace *f, void *user_data),
42  void *user_data,
43  const int nshapes,
44  const bool use_self,
45  const bool use_separate_all,
46  const bool hole_tolerant,
47  const bool keep_hidden);
48 
49 #ifdef __cplusplus
50 }
51 #endif
bool BM_mesh_boolean_knife(BMesh *bm, struct BMLoop *(*looptris)[3], const int looptris_tot, int(*test_fn)(BMFace *f, void *user_data), void *user_data, const int nshapes, const bool use_self, const bool use_separate_all, const bool hole_tolerant, const bool keep_hidden)
bool BM_mesh_boolean(BMesh *bm, struct BMLoop *(*looptris)[3], const int looptris_tot, int(*test_fn)(BMFace *f, void *user_data), void *user_data, const int nshapes, const bool use_self, const bool keep_hidden, const bool hole_tolerant, const int boolean_mode)
ATTR_WARN_UNUSED_RESULT BMesh * bm
void * user_data