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 |
json | serialize () const |
Junction (const UUID &uu, const json &j) | |
Junction (const UUID &uu) | |
UUID | get_uuid () const |
json | serialize () const |
Public Attributes | |
UUID | uuid |
Coord< int64_t > | position |
uuid_ptr< Net > | net = nullptr |
uuid_ptr< Bus > | bus = nullptr |
UUID | net_segment = UUID() |
bool | warning = false |
LayerRange | layer = 10000 |
bool | needs_via = false |
bool | has_via = false |
unsigned int | connection_count = 0 |
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.