libigl - A simple c++ geometry processing library http://igl.ethz.ch/projects/libigl/ Copyright 2013 - Alec Jacobson, Daniele Panozzo, Olga Diamanti, Kenshi Takayama, Leo Sacht, Interactive Geometry Lab - ETH Zurich This is first and foremost a *header* library. Each header file should contain a single function. The function may have multiple prototypes. All functions should use the igl namespace and should adhere to the conventions and styles listed below. = Dependencies = Eigen3 Last tested with Eigen Version 3.1.2 AntTweakBar Last tested 1.14 (see External) OpenGL GLUT GLEW Windows only = Optional = OpenMP libpng libiglpng extra only Mosek libiglmosek extra only Matlab libiglmatlab extra only = Optional (included in external/ = TetGen libigltetgen extra only = Header only = libigl is designed to work "out-of-the-box" as a headers only library. To include libigl in your project. You need only include the libigl/include/ directory in your include path and define the IGL_HEADER_ONLY macro. To compile a hello-word example.cpp: #include #include #include int main(int argc, char * argv[]) { if(argc>1) { Eigen::MatrixXd V; Eigen::MatrixXi F; igl::readOBJ(argv[1],V,F); std::cout<<"Hello, mesh with "<