Blender V5.0
bmesh_intersect.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_span.hh"
12
13#include "bmesh_class.hh"
14
24 blender::Span<std::array<BMLoop *, 3>> looptris,
25 int (*test_fn)(BMFace *f, void *user_data),
26 void *user_data,
27 bool use_self,
28 bool use_separate,
29 bool use_dissolve,
30 bool use_island_connect,
31 bool use_partial_connect,
32 bool use_edge_tag,
33 int boolean_mode,
34 float eps);
35
36enum {
38 /* aligned with BooleanModifierOp */
42};
bool BM_mesh_intersect(BMesh *bm, blender::Span< std::array< BMLoop *, 3 > > looptris, int(*test_fn)(BMFace *f, void *user_data), void *user_data, bool use_self, bool use_separate, bool use_dissolve, bool use_island_connect, bool use_partial_connect, bool use_edge_tag, int boolean_mode, float eps)
@ BMESH_ISECT_BOOLEAN_DIFFERENCE
@ BMESH_ISECT_BOOLEAN_NONE
@ BMESH_ISECT_BOOLEAN_UNION
@ BMESH_ISECT_BOOLEAN_ISECT
BMesh * bm
const btScalar eps
Definition poly34.cpp:11