Blender V5.3
GEO_mesh_triangulate.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
8
9#pragma once
10
11#include <optional>
12
13#include "BLI_index_mask.hh"
14
15#include "BKE_attribute.hh"
16
17namespace blender {
18
19struct Mesh;
20
21namespace geometry {
22
26 Beauty = 0,
28};
29
43
48std::optional<Mesh *> mesh_triangulate(const Mesh &src_mesh,
49 const IndexMask &selection,
50 TriangulateNGonMode ngon_mode,
51 TriangulateQuadMode quad_mode,
52 const bke::AttributeFilter &attribute_filter);
53
54} // namespace geometry
55} // namespace blender
std::optional< Mesh * > mesh_triangulate(const Mesh &src_mesh, const IndexMask &selection, TriangulateNGonMode ngon_mode, TriangulateQuadMode quad_mode, const bke::AttributeFilter &attribute_filter)
BMesh Iterators.