libigl v2.5.0
Loading...
Searching...
No Matches
readSTL.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include <string>
#include <istream>
#include <vector>
#include <array>
#include "readSTL.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename DerivedV , typename DerivedF , typename DerivedN >
bool igl::readSTL (std::istream &input, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedN > &N)
 Read a mesh from an ascii/binary stl file.
 
template<typename TypeV , typename TypeF , typename TypeN >
bool igl::readSTL (std::istream &input, std::vector< std::array< TypeV, 3 > > &V, std::vector< std::array< TypeF, 3 > > &F, std::vector< std::array< TypeN, 3 > > &N)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename DerivedV , typename DerivedF , typename DerivedN >
bool igl::readSTL (FILE *fp, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedN > &N)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.