Class for reading STL files.
More...
#include <EBGeometry_Parser.hpp>
|
using | Vec3 = EBGeometry::Vec3T< T > |
| Alias for vector type.
|
|
using | Vertex = EBGeometry::DCEL::VertexT< T, Meta > |
| Alias for vertex type.
|
|
using | Edge = EBGeometry::DCEL::EdgeT< T, Meta > |
| Alias for edge type.
|
|
using | Face = EBGeometry::DCEL::FaceT< T, Meta > |
| Alias for face type.
|
|
using | Mesh = EBGeometry::DCEL::MeshT< T, Meta > |
| Alias for mesh type.
|
|
using | EdgeIterator = EBGeometry::DCEL::EdgeIteratorT< T, Meta > |
| Alias for edge iterator type.
|
|
Class for reading STL files.
- Note
- T is the precision used when storing the mesh.
◆ getEncoding()
|
inlinestaticprotectednoexcept |
Check if the input STL file is an ASCII file or a binary.
- Parameters
-
- Returns
- Returns Encoding::ASCII or Encoding::Binary,
◆ readASCII()
|
inlinestaticprotectednoexcept |
ASCII reader STL files, possibly containing multiple objects. Each object becomes a DCEL mesh.
- Parameters
-
[in] | a_filename | Input filename |
◆ readBinary()
|
inlinestaticprotectednoexcept |
Binary reader for STL files, possibly containing multiple objects. Each object becomes a DCEL mesh.
- Parameters
-
[in] | a_filename | Input filename |
◆ readMulti()
Read a single STL object from the input file. The file can be binary or ASCII.
- Parameters
-
[in] | a_filename | STL file name. |
◆ readSingle()
Read a single STL object from the input file. The file can be binary or ASCII. If the STL file contains multiple solids, this routine returns the first one.
- Parameters
-
[in] | a_filename | STL file name. |
◆ readSTLSoupASCII()
|
inlinestaticprotectednoexcept |
Read an STL object as a triangle soup into a raw vertices and facets.
- Parameters
-
[out] | a_vertices | Vertices |
[out] | a_facets | STL facets |
[out] | a_objectName | Object name |
[out] | a_fileContents | File contents |
[out] | a_firstLine | Line number in a_filename containing the 'solid' identifier. |
[out] | a_lastLine | Line number in a_filename containing the 'endsolid' identifier. |
The documentation for this class was generated from the following file: