Blender V5.0
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
5#pragma once
6
7#include <optional>
8
9#include "BLI_index_mask.hh"
10
11#include "BKE_attribute.hh"
12
13struct Mesh;
14
15namespace blender::geometry {
16
20 Beauty = 0,
22};
23
37
42std::optional<Mesh *> mesh_triangulate(const Mesh &src_mesh,
43 const IndexMask &selection,
44 TriangulateNGonMode ngon_mode,
45 TriangulateQuadMode quad_mode,
46 const bke::AttributeFilter &attribute_filter);
47
48} // namespace blender::geometry
std::optional< Mesh * > mesh_triangulate(const Mesh &src_mesh, const IndexMask &selection, TriangulateNGonMode ngon_mode, TriangulateQuadMode quad_mode, const bke::AttributeFilter &attribute_filter)
@ Fixed