KiCad PCB EDA Suite
|
#include <common.h>
#include <macros.h>
#include <board_design_settings.h>
#include <footprint.h>
#include <pad.h>
#include <pcb_track.h>
#include <pcb_shape.h>
#include <zone.h>
#include <advanced_config.h>
#include <geometry/shape_rect.h>
#include <geometry/seg.h>
#include <geometry/shape_segment.h>
#include <drc/drc_item.h>
#include <drc/drc_rule.h>
#include <board.h>
#include <geometry/shape_circle.h>
Go to the source code of this file.
Classes | |
struct | PATH_CONNECTION |
class | CREEP_SHAPE |
A class used to represent the shapes for creepage calculation. More... | |
class | CU_SHAPE |
Creepage: a conductive shape. More... | |
class | BE_SHAPE |
Creepage: a board edge shape. More... | |
class | CU_SHAPE_SEGMENT |
Creepage: a conductive segment. More... | |
class | CU_SHAPE_CIRCLE |
Creepage: a conductive circle. More... | |
class | CU_SHAPE_ARC |
Creepage: a conductive arc. More... | |
class | GraphNode |
class | GraphConnection |
a connection in a More... | |
class | BE_SHAPE_POINT |
Creepage: a board edge point. More... | |
class | BE_SHAPE_CIRCLE |
Creepage: a board edge circle. More... | |
class | BE_SHAPE_ARC |
Creepage: a board edge arc. More... | |
class | CreepageGraph |
A graph with nodes and connections for creepage calculation. More... | |
Functions | |
bool | SegmentIntersectsBoard (const VECTOR2I &aP1, const VECTOR2I &aP2, const std::vector< BOARD_ITEM * > &aBe, const std::vector< const BOARD_ITEM * > &aDontTestAgainst, int aMinGrooveWidth) |
bool SegmentIntersectsBoard | ( | const VECTOR2I & | aP1, |
const VECTOR2I & | aP2, | ||
const std::vector< BOARD_ITEM * > & | aBe, | ||
const std::vector< const BOARD_ITEM * > & | aDontTestAgainst, | ||
int | aMinGrooveWidth | ||
) |
Definition at line 1763 of file drc_creepage_utils.cpp.
References ARC, EDA_SHAPE::CalcArcAngles(), CIRCLE, EDA_SHAPE::DupPolyPointsList(), PCB_SHAPE::GetCenter(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetRadius(), EDA_SHAPE::GetShape(), EDA_SHAPE::GetStart(), POLY, RECTANGLE, SEGMENT, segmentIntersectsArc(), segmentIntersectsCircle(), segments_intersect(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PATH_CONNECTION::isValid().