Blender  V2.93
bmesh_intersect.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 bool use_self,
33  const bool use_separate,
34  const bool use_dissolve,
35  const bool use_island_connect,
36  const bool use_partial_connect,
37  const bool use_edge_tag,
38  const int boolean_mode,
39  const float eps);
40 
41 enum {
43  /* aligned with BooleanModifierOp */
47 };
48 
49 #ifdef __cplusplus
50 }
51 #endif
@ BMESH_ISECT_BOOLEAN_DIFFERENCE
@ BMESH_ISECT_BOOLEAN_NONE
@ BMESH_ISECT_BOOLEAN_UNION
@ BMESH_ISECT_BOOLEAN_ISECT
bool BM_mesh_intersect(BMesh *bm, struct BMLoop *(*looptris)[3], const int looptris_tot, int(*test_fn)(BMFace *f, void *user_data), void *user_data, const bool use_self, const bool use_separate, const bool use_dissolve, const bool use_island_connect, const bool use_partial_connect, const bool use_edge_tag, const int boolean_mode, const float eps)
ATTR_WARN_UNUSED_RESULT BMesh * bm
void * user_data
const btScalar eps
Definition: poly34.cpp:11