Blender V5.3
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
15namespace blender {
16
26 Span<std::array<BMLoop *, 3>> looptris,
27 int (*test_fn)(BMFace *f, void *user_data),
28 void *user_data,
29 bool use_self,
30 bool use_separate,
31 bool use_dissolve,
32 bool use_island_connect,
33 bool use_partial_connect,
34 bool use_edge_tag,
35 int boolean_mode,
36 float eps);
37
38enum {
40 /* aligned with BooleanModifierOp */
44};
45
46} // namespace blender
BMesh Iterators.
bool BM_mesh_intersect(BMesh *bm, const Span< std::array< BMLoop *, 3 > > looptris, 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)
@ BMESH_ISECT_BOOLEAN_NONE
@ BMESH_ISECT_BOOLEAN_DIFFERENCE
@ BMESH_ISECT_BOOLEAN_UNION
@ BMESH_ISECT_BOOLEAN_ISECT
const btScalar eps
Definition poly34.cpp:11