mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 06:53:47 -07:00
Initial release
This commit is contained in:
21
deps_src/libigl/igl/is_stl.h
Normal file
21
deps_src/libigl/igl/is_stl.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef IGL_IS_STL_H
|
||||
#define IGL_IS_STL_H
|
||||
#include "igl_inline.h"
|
||||
#include <cstdio>
|
||||
namespace igl
|
||||
{
|
||||
// Given a file pointer, determine if it contains an .stl file and then
|
||||
// rewind it.
|
||||
//
|
||||
// Inputs:
|
||||
// stl_file pointer to file
|
||||
// Outputs:
|
||||
// is_ascii flag whether stl is ascii
|
||||
// Returns whether stl_file is an .stl file
|
||||
IGL_INLINE bool is_stl(FILE * stl_file, bool & is_ascii);
|
||||
IGL_INLINE bool is_stl(FILE * stl_file);
|
||||
};
|
||||
#ifndef IGL_STATIC_LIBRARY
|
||||
# include "is_stl.cpp"
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user