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
4
namespace
JUNCTION_HELPERS
5
{
6
11
struct
POINT_INFO
12
{
14
bool
isJunction
;
16
bool
hasExplicitJunctionDot
;
18
bool
hasBusEntry
;
20
bool
hasBusEntryToMultipleWires
;
21
};
22
27
POINT_INFO
AnalyzePoint
(
const
EE_RTREE
& aItem,
const
VECTOR2I
& aPosition,
bool
aBreakCrossings );
28
29
}
// namespace JUNCTION_HELPERS
EE_RTREE
Implements an R-tree for fast spatial and type indexing of schematic items.
Definition:
sch_rtree.h:40
VECTOR2< int32_t >
JUNCTION_HELPERS
Definition:
junction_helpers.h:5
JUNCTION_HELPERS::AnalyzePoint
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,...
Definition:
junction_helpers.cpp:7
sch_rtree.h
JUNCTION_HELPERS::POINT_INFO
A selection of information about a point in the schematic that might be eligible for turning into a j...
Definition:
junction_helpers.h:12
JUNCTION_HELPERS::POINT_INFO::hasBusEntryToMultipleWires
bool hasBusEntryToMultipleWires
Definition:
junction_helpers.h:20
JUNCTION_HELPERS::POINT_INFO::isJunction
bool isJunction
< True if the point has 3+ wires and/or 3+ buses meeting there
Definition:
junction_helpers.h:14
JUNCTION_HELPERS::POINT_INFO::hasExplicitJunctionDot
bool hasExplicitJunctionDot
True if there is a bus entry at the point (either end)
Definition:
junction_helpers.h:16
JUNCTION_HELPERS::POINT_INFO::hasBusEntry
bool hasBusEntry
True if there is a bus entry at the point and it connects to more than one wire.
Definition:
junction_helpers.h:18
vector2d.h
src
eeschema
junction_helpers.h
Generated on Sun Dec 22 2024 00:05:21 for KiCad PCB EDA Suite by
1.9.6