Rev 511 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
/* ----------------------------------------------------------------------- *
* This file is part of GEL, www.imm.dtu.dk/GEL
* Copyright (C) the authors (see AUTHORS.txt) and DTU Informatics
*
* Principal authors:
* Christian Thode Larsen (thode2d@gmail.com)
* J. Andreas Baerentzen (jab@imm.dtu.dk)
*
* See LICENSE.txt for licensing information
* ----------------------------------------------------------------------- */
#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;
}
}