Blender V5.0
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
5#pragma once
6
7#include "BLI_array.hh"
9#include "BLI_span.hh"
10#include "BLI_vector.hh"
11
12struct Mesh;
13
15
17enum class Solver {
24 Float = 1,
27};
28
29enum class Operation {
31 Union = 1,
33};
34
42
59
87 Span<float4x4> transforms,
88 Span<Array<short>> material_remaps,
89 BooleanOpParameters op_params,
90 Solver solver,
91 Vector<int> *r_intersecting_edges,
92 BooleanError *r_error);
93
94} // namespace blender::geometry::boolean
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)