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