The Reader class parses DXF files using dxflib and stores entities by layer.
More...
#include <Reader.h>
The Reader class parses DXF files using dxflib and stores entities by layer.
◆ Reader()
sf::dxf::Reader::Reader |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
Constructs a Reader object.
- Parameters
-
parent | The parent QObject. |
◆ ~Reader()
sf::dxf::Reader::~Reader |
( |
| ) |
|
|
override |
◆ getEntitiesByLayer()
const LayerEntities & sf::dxf::Reader::getEntitiesByLayer |
( |
| ) |
const |
Gets the parsed entities organized by layer.
- Returns
- A constant reference to the map of entities by layer.
◆ getLayerInfo()
const Layers & sf::dxf::Reader::getLayerInfo |
( |
| ) |
const |
Gets the parsed layer information.
- Returns
- A constant reference to the map of layer information.
◆ read()
bool sf::dxf::Reader::read |
( |
const QString & |
filepath | ) |
|
Reads and parses a DXF file.
- Parameters
-
filepath | The path to the DXF file. |
- Returns
- True if the file was successfully read, false otherwise.
◆ _adapter
Adapter* sf::dxf::Reader::_adapter |
The documentation for this class was generated from the following file: