20#ifndef LIBREPCB_CORE_DXFREADER_H
21#define LIBREPCB_CORE_DXFREADER_H
26#include "../geometry/path.h"
Read DXF files into LibrePCB data structures.
Definition dxfreader.h:60
DxfReader & operator=(const DxfReader &rhs)=delete
const QList< Circle > & getCircles() const noexcept
Get all imported circles.
Definition dxfreader.h:110
QList< Path > mPolygons
Definition dxfreader.h:138
const QList< Path > & getPolygons() const noexcept
Get all imported lines, arcs and polylines (converted to polygons)
Definition dxfreader.h:117
const QList< Point > & getPoints() const noexcept
Get all imported points.
Definition dxfreader.h:103
DxfReader() noexcept
Default constructor.
Definition dxfreader.cpp:174
void setScaleFactor(qreal scaleFactor) noexcept
Set a custom scale factor.
Definition dxfreader.h:92
void parse(const FilePath &dxfFile)
Parse a DXF file.
Definition dxfreader.cpp:184
QList< Circle > mCircles
Definition dxfreader.h:137
qreal mScaleFactor
Definition dxfreader.h:134
QList< Point > mPoints
Definition dxfreader.h:136
Private helper class to break dependency to dxflib.
Definition dxfreader.cpp:49
This class represents absolute, well-formatted paths to files or directories.
Definition filepath.h:127
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
Definition occmodel.cpp:76
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition length.h:810
Definition dxfreader.h:64
PositiveLength diameter
Definition dxfreader.h:66
Point position
Definition dxfreader.h:65