KiCad PCB EDA Suite
|
#include <advanced_config.h>
#include <board.h>
#include <board_design_settings.h>
#include <pcb_track.h>
#include <drc/drc_engine.h>
#include <drc/drc_item.h>
#include <drc/drc_rule.h>
#include <drc/drc_test_provider.h>
#include <drc/drc_rtree.h>
#include <geometry/shape_segment.h>
#include <connectivity/connectivity_data.h>
#include <connectivity/from_to_cache.h>
#include <view/view_overlay.h>
Go to the source code of this file.
Classes | |
class | test::DRC_TEST_PROVIDER_DIFF_PAIR_COUPLING |
struct | DIFF_PAIR_KEY |
struct | DIFF_PAIR_COUPLED_SEGMENTS |
struct | DIFF_PAIR_ITEMS |
Namespaces | |
namespace | test |
namespace | detail |
Functions | |
static bool | commonParallelProjection (SEG p, SEG n, SEG &pClip, SEG &nClip) |
static bool | commonParallelProjection (const PCB_ARC &p, const PCB_ARC &n, SHAPE_ARC &pClip, SHAPE_ARC &nClip) |
static void | extractDiffPairCoupledItems (DIFF_PAIR_ITEMS &aDp) |
Variables | |
static DRC_REGISTER_TEST_PROVIDER< test::DRC_TEST_PROVIDER_DIFF_PAIR_COUPLING > | detail::dummy |
|
static |
Definition at line 126 of file drc_test_provider_diff_pair_coupling.cpp.
References PCB_ARC::GetCenter(), ADVANCED_CFG::GetCfg(), PCB_TRACK::GetEnd(), SHAPE_ARC::GetEndAngle(), PCB_ARC::GetMid(), PCB_ARC::GetRadius(), PCB_TRACK::GetStart(), SHAPE_ARC::GetStartAngle(), PCB_ARC::IsCCW(), KiROUND(), SHAPE_ARC::Rotate(), and RotatePoint().
Definition at line 84 of file drc_test_provider_diff_pair_coupling.cpp.
References SEG::A, SEG::B, SEG::LineProject(), rescale(), SEG::SquaredLength(), SEG::TCoef(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by extractDiffPairCoupledItems().
|
static |
Definition at line 270 of file drc_test_provider_diff_pair_coupling.cpp.
References SEG::A, std::abs(), SEG::ApproxParallel(), DRC_RTREE::CheckColliding(), commonParallelProjection(), DIFF_PAIR_COUPLED_SEGMENTS::computedGap, DIFF_PAIR_ITEMS::coupled, DIFF_PAIR_COUPLED_SEGMENTS::coupledArcN, DIFF_PAIR_COUPLED_SEGMENTS::coupledArcP, DIFF_PAIR_COUPLED_SEGMENTS::coupledN, DIFF_PAIR_COUPLED_SEGMENTS::coupledP, PCB_ARC::GetCenter(), PCB_TRACK::GetEnd(), BOARD_ITEM::GetLayer(), PCB_TRACK::GetLayerSet(), PCB_ARC::GetLength(), BOARD_CONNECTED_ITEM::GetNetCode(), SHAPE_ARC::GetRadius(), PCB_TRACK::GetStart(), PCB_TRACK::GetWidth(), DIFF_PAIR_COUPLED_SEGMENTS::isArc, DIFF_PAIR_ITEMS::itemsN, DIFF_PAIR_ITEMS::itemsP, KiROUND(), DIFF_PAIR_COUPLED_SEGMENTS::layer, DIFF_PAIR_COUPLED_SEGMENTS::parentN, DIFF_PAIR_COUPLED_SEGMENTS::parentP, PCB_ARC_T, PCB_TRACE_T, PCB_VIA_T, and SEG::SquaredLength().
Referenced by test::DRC_TEST_PROVIDER_DIFF_PAIR_COUPLING::Run().