KiCad PCB EDA Suite
Loading...
Searching...
No Matches
junction_helpers.h
Go to the documentation of this file.
1#include <math/vector2d.h>
2#include <sch_rtree.h>
3
5{
6
12{
21};
22
27POINT_INFO AnalyzePoint( const EE_RTREE& aItem, const VECTOR2I& aPosition, bool aBreakCrossings );
28
29} // namespace JUNCTION_HELPERS
Implements an R-tree for fast spatial and type indexing of schematic items.
Definition: sch_rtree.h:40
POINT_INFO AnalyzePoint(const EE_RTREE &aItem, const VECTOR2I &aPosition, bool aBreakCrossings)
Check a tree of items for a confluence at a given point and work out what kind of junction it is,...
A selection of information about a point in the schematic that might be eligible for turning into a j...
bool isJunction
< True if the point has 3+ wires and/or 3+ buses meeting there
bool hasExplicitJunctionDot
True if there is a bus entry at the point (either end)
bool hasBusEntry
True if there is a bus entry at the point and it connects to more than one wire.