slam.remeshing

Tools for remeshing an input mesh

Functions

spherical_interpolation_nearest_neigbhor(…)

nearest neighbor interpolation between two spheres For each vertex of target_spherical_mesh, find the nearest one in source_spherical_mesh and use this vertex-level correspondence to pick values in info_to_interpolate :param source_spherical_mesh: spherical Trimesh object :param target_spherical_mesh: spherical Trimesh object :param info_to_interpolate: vector with shape[0] equal to the number of vertices in source_spherical_mesh :return: interpolated info_to_interpolate