VCG Library
trimesh_fitting.cpp File Reference

A small example about sampling and fitting. More...

#include <vcg/complex/complex.h>
#include <vcg/complex/algorithms/create/platonic.h>
#include <vcg/complex/algorithms/point_sampling.h>
#include <wrap/io_trimesh/import_off.h>
#include <vcg/space/fitting3.h>

Go to the source code of this file.

Detailed Description

A small example about sampling and fitting.

Given a mesh (an icosahedron) for each face we get a few random samples over it, and then we recover:

Definition in file trimesh_fitting.cpp.