NetDEM v1.0
Loading...
Searching...
No Matches
netdem::STLReader Class Reference

A class for reading STL files. More...

#include <stl_reader.hpp>

Static Public Member Functions

static STLModel ReadFile (std::string const &filename)
 Read an STL file.
 

Detailed Description

A class for reading STL files.

This class provides methods for reading STL (STereoLithography) files. It supports both ASCII and binary formats.

Member Function Documentation

◆ 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
filenameThe 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: