Blender V4.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
5#pragma once
6
7#include "BLI_array.hh"
9#include "BLI_span.hh"
10
11struct Mesh;
12
14
16enum class Solver {
21 MeshArr = 0,
23 Float = 1,
24};
25
26enum class Operation {
27 Intersect = 0,
28 Union = 1,
29 Difference = 2,
30};
31
48
75 Span<float4x4> transforms,
76 const float4x4 &target_transform,
77 Span<Array<short>> material_remaps,
78 BooleanOpParameters op_params,
79 Solver solver,
80 Vector<int> *r_intersecting_edges);
81
82} // namespace blender::geometry::boolean
Mesh * mesh_boolean(Span< const Mesh * > meshes, Span< float4x4 > transforms, const float4x4 &target_transform, Span< Array< short > > material_remaps, BooleanOpParameters op_params, Solver solver, Vector< int > *r_intersecting_edges)