| 
    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) const | 
| 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(), PCB_TRACE_T, SHAPE_POLY_SET::PointOnEdge(), ROUND_ALL_CORNERS, SegmentIntersectsBoard(), SH_SEGMENT, VECTOR2< T >::SquaredEuclideanNorm(), and BOARD::Tracks().
| VECTOR2D PATH_CONNECTION::a1 | 
Definition at line 55 of file drc_creepage_utils.h.
Referenced by CREEPAGE_GRAPH::AddConnection(), BE_SHAPE_ARC::ConnectChildren(), BE_SHAPE_CIRCLE::ConnectChildren(), isValid(), BE_SHAPE_CIRCLE::Paths(), BE_SHAPE_POINT::Paths(), BE_SHAPE_POINT::Paths(), CU_SHAPE_ARC::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_SEGMENT::Paths(), CU_SHAPE_SEGMENT::Paths(), CU_SHAPE_SEGMENT::Paths(), CU_SHAPE_SEGMENT::Paths(), and BE_SHAPE_CIRCLE::ShortenChildDueToGV().
| VECTOR2D PATH_CONNECTION::a2 | 
Definition at line 56 of file drc_creepage_utils.h.
Referenced by CREEPAGE_GRAPH::AddConnection(), BE_SHAPE_ARC::ConnectChildren(), BE_SHAPE_CIRCLE::ConnectChildren(), isValid(), BE_SHAPE_CIRCLE::Paths(), BE_SHAPE_POINT::Paths(), BE_SHAPE_POINT::Paths(), CU_SHAPE_ARC::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_SEGMENT::Paths(), CU_SHAPE_SEGMENT::Paths(), CU_SHAPE_SEGMENT::Paths(), CU_SHAPE_SEGMENT::Paths(), 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.
| double PATH_CONNECTION::weight = -1 | 
Definition at line 57 of file drc_creepage_utils.h.
Referenced by CREEPAGE_GRAPH::AddConnection(), BE_SHAPE_ARC::ConnectChildren(), BE_SHAPE_CIRCLE::ConnectChildren(), BE_SHAPE_CIRCLE::Paths(), BE_SHAPE_POINT::Paths(), BE_SHAPE_POINT::Paths(), CU_SHAPE_ARC::Paths(), CU_SHAPE_ARC::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_CIRCLE::Paths(), CU_SHAPE_SEGMENT::Paths(), CU_SHAPE_SEGMENT::Paths(), CU_SHAPE_SEGMENT::Paths(), CU_SHAPE_SEGMENT::Paths(), CU_SHAPE_SEGMENT::Paths(), and BE_SHAPE_CIRCLE::ShortenChildDueToGV().