Rev 468 | Rev 512 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*
* Written by Christian Thode Larsen 2009-2010
* Contact: thode2d@gmail.com
* Based on original work by J. Andreas Baerentzen
* Inspired by OpenMesh (www.openmesh.org)
*/
#include "ply_load.h"
#include <Geometry/ply_load.h>
#include <Geometry/TriMesh.h>
#include "Manifold.h"
namespace HMesh
{
using std::string;
using Geometry::ply_load;
using Geometry::TriMesh;
bool ply_load(const string& filename, Manifold& m)
{
TriMesh mesh;
Geometry::ply_load(filename, mesh);
m.build(mesh);
return true;
}
}