libigl v2.5.0
Loading...
Searching...
No Matches
guess_extension.h
Go to the documentation of this file.
1#ifndef IGL_GUESS_EXTENSION_H
2#define IGL_GUESS_EXTENSION_H
3#include "igl_inline.h"
4#include <string>
5#include <cstdio>
6namespace igl
7{
16 IGL_INLINE void guess_extension(FILE * fp, std::string & guess);
18 IGL_INLINE std::string guess_extension(FILE * fp);
19}
20#ifndef IGL_STATIC_LIBRARY
21# include "guess_extension.cpp"
22#endif
23#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void guess_extension(FILE *fp, std::string &guess)
Given a file pointer at the beginning of a "mesh" file, try to guess the extension of the file format...