54 { |
54 { |
55 return vertex * scalar; |
55 return vertex * scalar; |
56 } |
56 } |
57 |
57 |
58 Q_DECLARE_METATYPE(Vertex) |
58 Q_DECLARE_METATYPE(Vertex) |
|
59 qreal distance(const Vertex& one, const Vertex& other); |
59 unsigned int qHash(const Vertex& key); |
60 unsigned int qHash(const Vertex& key); |
|
61 Vertex operator-(const Vertex& vertex); |
60 QDataStream& operator<<(QDataStream& out, const Vertex& vertex); |
62 QDataStream& operator<<(QDataStream& out, const Vertex& vertex); |
61 QDataStream& operator>>(QDataStream& in, Vertex& vertex); |
63 QDataStream& operator>>(QDataStream& in, Vertex& vertex); |
62 |
|
63 qreal distance(const Vertex& one, const Vertex& other); |
|