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