Tool for fitting a polygon mesh where each polygon is label with a material to landmark points of a specific material