Blender V5.3
GEO_mesh_boolean.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2019 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "BLI_array.hh"
13#include "BLI_span.hh"
14#include "BLI_vector.hh"
15
16namespace blender {
17
18struct Mesh;
19
21
23enum class Solver {
30 Float = 1,
33};
34
35enum class Operation {
37 Union = 1,
38 Difference = 2,
39};
40
48
53
72
101 Span<float4x4> transforms,
102 Span<Array<short>> material_remaps,
103 BooleanOpParameters op_params,
104 Solver solver,
105 Vector<int> *r_intersecting_edges,
106 BooleanError *r_error);
107
108} // namespace geometry::boolean
109} // namespace blender
DBVT_INLINE bool Intersect(const btDbvtAabbMm &a, const btDbvtAabbMm &b)
Definition btDbvt.h:621
Mesh * mesh_boolean(Span< const Mesh * > meshes, Span< float4x4 > transforms, Span< Array< short > > material_remaps, BooleanOpParameters op_params, Solver solver, Vector< int > *r_intersecting_edges, BooleanError *r_error)
BMesh Iterators.
@ Union
Definition types.hh:109