20 #ifndef LIBREPCB_CORE_AIRWIRESBUILDER_H 21 #define LIBREPCB_CORE_AIRWIRESBUILDER_H 26 #include "../types/point.h" 35 class AirWiresBuilderImpl;
86 void addEdge(
int p1,
int p2) noexcept;
std::pair< int, int > AirWire
Definition: airwiresbuilder.h:49
void addEdge(int p1, int p2) noexcept
Add an edge between two points.
Definition: airwiresbuilder.cpp:215
Definition: occmodel.cpp:76
int addPoint(const Point &p) noexcept
Add a new point.
Definition: airwiresbuilder.cpp:211
AirWiresBuilder() noexcept
Default constructor.
Definition: airwiresbuilder.cpp:201
AirWires buildAirWires() noexcept
Build the air wires.
Definition: airwiresbuilder.cpp:219
QScopedPointer< AirWiresBuilderImpl > mImpl
Definition: airwiresbuilder.h:104
The AirWiresBuilder class.
Definition: airwiresbuilder.h:44
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5...
Definition: point.h:78
Definition: airwiresbuilder.cpp:40
QVector< AirWire > AirWires
Definition: airwiresbuilder.h:50