![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
#include <line/io/tikz/tikz_edge_router.h>
Public Member Functions | |
| TikzEdgeRouter (const std::vector< double > &x, const std::vector< double > &y, const std::vector< std::size_t > &visible) | |
| std::vector< TikzPoint > | compute_waypoints (std::size_t from, std::size_t to) |
| computeWaypoints: empty when the straight segment is clear, and for a self-loop. | |
Static Public Attributes | |
| static constexpr double | NODE_HALF_WIDTH = 1.2 |
| cm | |
| static constexpr double | NODE_HALF_HEIGHT = 0.9 |
| cm | |
| static constexpr double | MARGIN = 0.25 |
| static constexpr double | ROUTE_SPACING = 0.5 |
| static constexpr double | ENTRY_OFFSET = 0.2 |
Definition at line 44 of file tikz_edge_router.h.
|
inline |
| x,y | positions of every node of the graph, indexed by node |
| visible | the nodes that are drawn; only they bound the drawing and count as obstacles |
Definition at line 56 of file tikz_edge_router.h.
References NODE_HALF_HEIGHT, and NODE_HALF_WIDTH.
|
inline |
computeWaypoints: empty when the straight segment is clear, and for a self-loop.
Definition at line 72 of file tikz_edge_router.h.
References MARGIN, NODE_HALF_WIDTH, line::io::TikzPoint::x, and line::io::TikzPoint::y.
Referenced by line::io::to_tikz().
|
staticconstexpr |
Definition at line 50 of file tikz_edge_router.h.
|
staticconstexpr |
Definition at line 48 of file tikz_edge_router.h.
Referenced by compute_waypoints().
|
staticconstexpr |
|
staticconstexpr |
cm
Definition at line 46 of file tikz_edge_router.h.
Referenced by compute_waypoints(), and TikzEdgeRouter().
|
staticconstexpr |
Definition at line 49 of file tikz_edge_router.h.