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. | |
std::vector< SCH_JUNCTION * > | PreviewJunctions (const class SCH_SCREEN *aScreen, const std::vector< class SCH_ITEM * > &aItems) |
Determine the points where explicit junctions would be required if the given temporary items were committed to the schematic. | |
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 30 of file junction_helpers.cpp.
References SCH_LINE::GetAngleFrom(), SCH_LINE::GetEndPoint(), SCH_ITEM::GetLayer(), SCH_LINE::GetStartPoint(), SCH_LINE::HitTest(), info, EE_RTREE::insert(), SCH_LINE::IsConnectable(), 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, EE_RTREE::size(), SKIP_STRUCT, and STRUCT_DELETED.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_SCREEN::IsExplicitJunction(), SCH_SCREEN::IsExplicitJunctionAllowed(), SCH_SCREEN::IsExplicitJunctionNeeded(), and SCH_SCREEN::IsJunction().
std::vector< SCH_JUNCTION * > JUNCTION_HELPERS::PreviewJunctions | ( | const class SCH_SCREEN * | aScreen, |
const std::vector< class SCH_ITEM * > & | aItems ) |
Determine the points where explicit junctions would be required if the given temporary items were committed to the schematic.
aScreen | The schematic screen containing the existing items. |
aItems | Temporary items not yet added to the screen. |
Referenced by SCH_LINE_WIRE_BUS_TOOL::doDrawSegments(), and SCH_MOVE_TOOL::doMoveSelection().