15#ifndef DRACO_MESH_MESH_ARE_EQUIVALENT_H_
16#define DRACO_MESH_MESH_ARE_EQUIVALENT_H_
36 explicit MeshInfo(
const Mesh &in_mesh) : mesh(in_mesh) {}
38 std::vector<FaceIndex> ordered_index_of_face;
43 void Init(
const Mesh &mesh0,
const Mesh &mesh1);
50 static int32_t ComputeCornerIndexOfSmallestPointXYZ(
const Mesh &mesh,
55 struct FaceIndexLess {
56 explicit FaceIndexLess(
const MeshInfo &in_mesh_info)
57 : mesh_info(in_mesh_info) {}
59 const MeshInfo &mesh_info;
62 void InitCornerIndexOfSmallestPointXYZ();
63 void InitOrderedFaceIndex();
65 std::vector<MeshInfo> mesh_infos_;
Definition draco_index_type_vector.h:32
Definition mesh_are_equivalent.h:27
bool operator()(const Mesh &mesh0, const Mesh &mesh1)
Definition mesh_are_equivalent.cc:106
Definition attribute_octahedron_transform.cc:21
VectorD< float, 3 > Vector3f
Definition vector_d.h:340
FaceIndex FaceIndex
Definition mesh_edgebreaker_encoder_impl.cc:36
double f(const std::string &, double, bool) noexcept
Definition profile_cpp_calls_2.cpp:4