Blender V4.5
BKE_geometry_compare.hh File Reference
#include "BKE_curves.hh"
#include "BKE_mesh_types.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::bke
namespace  blender::bke::compare_geometry

Functions

const char * blender::bke::compare_geometry::mismatch_to_string (const GeoMismatch &mismatch)
std::optional< GeoMismatchblender::bke::compare_geometry::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 are detected, but treated as a mismatch.
std::optional< GeoMismatchblender::bke::compare_geometry::compare_curves (const CurvesGeometry &curves1, const CurvesGeometry &curves2, float threshold)
 Checks if the two curves geometries are different, returning the type of mismatch if any. Changes in index order are detected, but treated as a mismatch.