0
2
0
... | ... |
@@ -465,7 +465,9 @@ |
465 | 465 |
explicit Arc(int id) { _id = id;} |
466 | 466 |
|
467 | 467 |
public: |
468 |
operator Edge() const { |
|
468 |
operator Edge() const { |
|
469 |
return _id != -1 ? edgeFromId(_id / 2) : INVALID; |
|
470 |
} |
|
469 | 471 |
|
470 | 472 |
Arc() {} |
471 | 473 |
Arc (Invalid) { _id = -1; } |
0 comments (0 inline)