KiCad PCB EDA Suite
|
a connection in a More...
#include <drc_creepage_utils.h>
Public Member Functions | |
GraphConnection (std::shared_ptr< GraphNode > &aN1, std::shared_ptr< GraphNode > &aN2, const PATH_CONNECTION &aPc) | |
std::vector< PCB_SHAPE > | GetShapes () |
Public Attributes | |
std::shared_ptr< GraphNode > | n1 = nullptr |
std::shared_ptr< GraphNode > | n2 = nullptr |
PATH_CONNECTION | m_path |
bool | forceStraightLigne = false |
a connection in a
Definition at line 467 of file drc_creepage_utils.h.
|
inline |
Definition at line 470 of file drc_creepage_utils.h.
References m_path.
std::vector< PCB_SHAPE > GraphConnection::GetShapes | ( | ) |
Definition at line 592 of file drc_creepage_utils.cpp.
References PATH_CONNECTION::a1, PATH_CONNECTION::a2, BE_SHAPE_ARC::AngleBetweenStartAndEnd(), VECTOR2< T >::Cross(), Eco1_User, forceStraightLigne, EDA_SHAPE::GetArcMid(), EDA_SHAPE::GetEnd(), BE_SHAPE_ARC::GetEndAngle(), CREEP_SHAPE::GetPos(), EDA_SHAPE::GetStart(), m_path, PATH_CONNECTION::m_show, n1, n2, EDA_SHAPE::SetCenter(), EDA_SHAPE::SetEnd(), PCB_SHAPE::SetLayer(), EDA_SHAPE::SetStart(), and EDA_SHAPE::SetWidth().
Referenced by DRC_TEST_PROVIDER_CLEARANCE_BASE::ReportAndShowPathCuToCu().
bool GraphConnection::forceStraightLigne = false |
Definition at line 481 of file drc_creepage_utils.h.
Referenced by GetShapes().
PATH_CONNECTION GraphConnection::m_path |
Definition at line 478 of file drc_creepage_utils.h.
Referenced by GetShapes(), GraphConnection(), and DRC_TEST_PROVIDER_CLEARANCE_BASE::ReportAndShowPathCuToCu().
std::shared_ptr<GraphNode> GraphConnection::n1 = nullptr |
Definition at line 476 of file drc_creepage_utils.h.
Referenced by GetShapes().
std::shared_ptr<GraphNode> GraphConnection::n2 = nullptr |
Definition at line 477 of file drc_creepage_utils.h.
Referenced by GetShapes().