123456789101112131415161718192021222324 |
- #ifndef IGL_WRITE_H
- #define IGL_WRITE_H
- #include "igl_inline.h"
- #include <Eigen/Core>
- #include <string>
- namespace igl
- {
- // write mesh to an ascii file with automatic detection of file format. supported: obj, off)
- // Known Bugs:
- // Does not correctly find file extensions: myfile.foo.off
- template <typename DerivedV, typename DerivedF>
- IGL_INLINE bool write(
- const std::string str,
- const Eigen::PlainObjectBase<DerivedV>& V,
- const Eigen::PlainObjectBase<DerivedF>& F);
- }
- #ifdef IGL_HEADER_ONLY
- # include "write.cpp"
- #endif
- #endif
|