A class for reading STL files.
More...
#include <stl_reader.hpp>
A class for reading STL files.
This class provides methods for reading STL (STereoLithography) files. It supports both ASCII and binary formats.
◆ ReadFile()
STLModel STLReader::ReadFile |
( |
std::string const & | filename | ) |
|
|
static |
Read an STL file.
This static method reads an STL file with the given filename and returns a corresponding STLModel object.
- Parameters
-
filename | The name of the file to read. |
- Returns
- An STLModel object representing the contents of the file.
The documentation for this class was generated from the following files:
- /Users/lzhshou/Documents/Research/myProjects/apaam/repo/netdem/src/utils/stl_reader.hpp
- /Users/lzhshou/Documents/Research/myProjects/apaam/repo/netdem/src/utils/stl_reader.cpp