VCG Library
trimesh_align_pair.cpp File Reference

the minimal example for aligning two meshes More...

#include <vcg/complex/complex.h>
#include <vcg/complex/algorithms/align_pair.h>
#include <wrap/io_trimesh/import.h>
#include <wrap/io_trimesh/export_ply.h>

Go to the source code of this file.

Detailed Description

the minimal example for aligning two meshes

This file contain a minimal example for aligning two meshs.

Example call: ./trimesh_align_pair mesh1.ply mesh2.ply output.ply

output.ply will contain mesh2.ply rotated in order to be aligned to mesh1.ply

Definition in file trimesh_align_pair.cpp.