62 int index()
const {
return static_cast<int>(mDir); }
64 bool isUp()
const {
return mDir==
Up; }
NetLayoutConnectionFactory(const QList< NetLayoutPoint > &sources, const QList< NetLayoutPoint > &destinations)
void dump(const QString &stub) const
NetLayoutConnection * connection
QList< NetLayoutPoint > points() const
QList< NetLayoutPoint > wayPoints() const
NetLayoutPoint closestPoint(const NetLayoutPoint &pnt) const
void add(const NetLayoutConnection &other, bool atomicNet)
~NetLayoutConnectionMetric()
NetLayoutConnectionMetric()
bool isHorizontal() const
NetLayoutDirection operator++()
NetLayoutDirection(DirectionType dir=Undefined)
bool operator==(const NetLayoutDirection &other) const
QPoint step(bool omitEndpoint=false) const
DirectionType direction() const
NetLayoutMetric(u32 id, const NetLayoutConnection *con)
bool operator<(const NetLayoutMetric &other) const
static QList< NetLayoutPoint > orderByDistance(const QList< NetLayoutPoint > &points)
NetLayoutPoint nextPoint(const NetLayoutDirection &dir, bool omitEndpoint=false) const
int distanceTo(const NetLayoutPoint &other) const
QGraphicsEllipseItem * graphicsFactory(float r) const
NetLayoutPoint(int x_=INT_MIN, int y_=INT_MIN)
static NetLayoutPoint fromBox(const QPoint &boxPosition, bool isInput)
NetLayoutWire(const NetLayoutPoint &p, const NetLayoutDirection &dir, bool isEnd)
bool isHorizontal() const
NetLayoutPoint endPoint(WirePointType pnt) const
QGraphicsLineItem * graphicsFactory() const
bool operator==(const NetLayoutWire &other) const
uint qHash(const LaneIndex &ri)
QPointF scenePoint(const QPoint &p)
uint qHash(const QPoint &p)