Blender V4.3
BKE_mesh_compare.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 "BKE_mesh_types.hh"
8
14
15enum class MeshMismatch : int8_t;
16
20const char *mismatch_to_string(const MeshMismatch &mismatch);
21
36std::optional<MeshMismatch> compare_meshes(const Mesh &mesh1, const Mesh &mesh2, float threshold);
37
38} // namespace blender::bke::compare_meshes
const char * mismatch_to_string(const MeshMismatch &mismatch)
std::optional< MeshMismatch > compare_meshes(const Mesh &mesh1, const Mesh &mesh2, float threshold)
Checks if the two meshes are different, returning the type of mismatch if any. Changes in index order...
signed char int8_t
Definition stdint.h:75