KiCad PCB EDA Suite
|
Classes | |
struct | POINT_INFO |
A selection of information about a point in the schematic that might be eligible for turning into a junction. More... | |
Functions | |
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, if any. | |
POINT_INFO JUNCTION_HELPERS::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, if any.
Definition at line 7 of file junction_helpers.cpp.
References SCH_LINE::GetAngleFrom(), SCH_LINE::GetEndPoint(), SCH_ITEM::GetLayer(), SCH_LINE::GetStartPoint(), SCH_LINE::HitTest(), info, SCH_ITEM::IsConnected(), LAYER_BUS, LAYER_WIRE, EE_RTREE::Overlapping(), SCH_BUS_WIRE_ENTRY_T, SCH_JUNCTION_T, SCH_LINE_T, SCH_SHEET_T, SCH_SYMBOL_T, and STRUCT_DELETED.
Referenced by BOOST_AUTO_TEST_CASE(), SCH_SCREEN::IsExplicitJunction(), SCH_SCREEN::IsExplicitJunctionAllowed(), SCH_SCREEN::IsExplicitJunctionNeeded(), and SCH_SCREEN::IsJunction().