KiCad PCB EDA Suite
|
#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 void | extractDiffPairCoupledItems (DIFF_PAIR_ITEMS &aDp) |
Variables | |
static DRC_REGISTER_TEST_PROVIDER< test::DRC_TEST_PROVIDER_DIFF_PAIR_COUPLING > | detail::dummy |
Definition at line 83 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 191 of file drc_test_provider_diff_pair_coupling.cpp.
References SEG::A, SEG::ApproxParallel(), DRC_RTREE::CheckColliding(), commonParallelProjection(), DIFF_PAIR_ITEMS::coupled, DIFF_PAIR_COUPLED_SEGMENTS::coupledN, DIFF_PAIR_COUPLED_SEGMENTS::coupledP, EuclideanNorm(), PCB_TRACK::GetEnd(), BOARD_ITEM::GetLayer(), BOARD_ITEM::GetLayerSet(), PCB_TRACK::GetStart(), DIFF_PAIR_ITEMS::itemsN, DIFF_PAIR_ITEMS::itemsP, DIFF_PAIR_COUPLED_SEGMENTS::layer, DIFF_PAIR_COUPLED_SEGMENTS::parentN, DIFF_PAIR_COUPLED_SEGMENTS::parentP, PCB_TRACE_T, PCB_VIA_T, and SEG::SquaredLength().
Referenced by test::DRC_TEST_PROVIDER_DIFF_PAIR_COUPLING::Run().