KiCad PCB EDA Suite
|
#include <drc_creepage_utils.h>
Public Member Functions | |
bool | isValid (const BOARD &aBoard, PCB_LAYER_ID aLayer, const std::vector< BOARD_ITEM * > &aBoardEdges, const std::vector< const BOARD_ITEM * > &aIgnoreForTest, SHAPE_POLY_SET *aOutline, const std::pair< bool, bool > &aTestLocalConcavity, int aMinGrooveWidth) |
Test if a path is valid. | |
Public Attributes | |
VECTOR2D | a1 |
VECTOR2D | a2 |
double | weight = -1 |
bool | m_show = true |
bool | m_forceA1concavityCheck = false |
bool | m_forceA2concavityCheck = false |
Definition at line 53 of file drc_creepage_utils.h.
|
inline |
Test if a path is valid.
Check if a paths intersects the board edge or a track
Definition at line 68 of file drc_creepage_utils.h.
References a1, a2, SHAPE_POLY_SET::Contains(), Edge_Cuts, SHAPE_POLY_SET::Inflate(), SEG::Intersects(), SHAPE_POLY_SET::PointOnEdge(), SegmentIntersectsBoard(), VECTOR2< T >::SquaredEuclideanNorm(), BOARD::Tracks(), VECTOR2< T >::x, and VECTOR2< T >::y.
VECTOR2D PATH_CONNECTION::a1 |
Definition at line 55 of file drc_creepage_utils.h.
Referenced by CreepageGraph::AddConnection(), BE_SHAPE_CIRCLE::ConnectChildren(), BE_SHAPE_ARC::ConnectChildren(), GraphConnection::GetShapes(), isValid(), BE_SHAPE_CIRCLE::Paths(), CU_SHAPE_SEGMENT::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_ARC::Paths(), BE_SHAPE_POINT::Paths(), DRC_TEST_PROVIDER_CLEARANCE_BASE::ReportAndShowPathCuToCu(), and BE_SHAPE_CIRCLE::ShortenChildDueToGV().
VECTOR2D PATH_CONNECTION::a2 |
Definition at line 56 of file drc_creepage_utils.h.
Referenced by CreepageGraph::AddConnection(), BE_SHAPE_CIRCLE::ConnectChildren(), BE_SHAPE_ARC::ConnectChildren(), GraphConnection::GetShapes(), isValid(), BE_SHAPE_CIRCLE::Paths(), CU_SHAPE_SEGMENT::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_ARC::Paths(), BE_SHAPE_POINT::Paths(), DRC_TEST_PROVIDER_CLEARANCE_BASE::ReportAndShowPathCuToCu(), and BE_SHAPE_CIRCLE::ShortenChildDueToGV().
bool PATH_CONNECTION::m_forceA1concavityCheck = false |
Definition at line 60 of file drc_creepage_utils.h.
bool PATH_CONNECTION::m_forceA2concavityCheck = false |
Definition at line 61 of file drc_creepage_utils.h.
bool PATH_CONNECTION::m_show = true |
Definition at line 58 of file drc_creepage_utils.h.
Referenced by GraphConnection::GetShapes().
double PATH_CONNECTION::weight = -1 |
Definition at line 57 of file drc_creepage_utils.h.
Referenced by CreepageGraph::AddConnection(), BE_SHAPE_CIRCLE::ConnectChildren(), BE_SHAPE_ARC::ConnectChildren(), BE_SHAPE_CIRCLE::Paths(), CU_SHAPE_SEGMENT::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_ARC::Paths(), BE_SHAPE_POINT::Paths(), DRC_TEST_PROVIDER_CLEARANCE_BASE::ReportAndShowPathCuToCu(), and BE_SHAPE_CIRCLE::ShortenChildDueToGV().