Horizon
|
A Junction is a point in 2D-Space. More...
#include <junction.hpp>
Public Member Functions | |
Junction (const UUID &uu, const json &j) | |
Junction (const UUID &uu) | |
UUID | get_uuid () const |
void | clear () |
json | serialize () const |
Public Attributes | |
UUID | uuid |
Coord< int64_t > | position |
LayerRange | layer = 10000 |
std::vector< UUID > | connected_lines |
std::vector< UUID > | connected_arcs |
A Junction is a point in 2D-Space.
A Junction is referenced by Line, Arc, LineNet, etc. for storing coordinates. This allows for actually storing Line connections instead of relying on coincident coordinates. When used on a Board or a Sheet, a Junction may get assigned a Net or a Bus and a net segment.