KiCad PCB EDA Suite
pns_diff_pair.cpp File Reference
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <limits>
#include <geometry/direction45.h>
#include <geometry/shape.h>
#include <geometry/shape_rect.h>
#include <geometry/shape_circle.h>
#include <geometry/shape_segment.h>
#include "pns_diff_pair.h"
#include "pns_router.h"
#include "pns_solid.h"
#include "pns_utils.h"
#include "pns_debug_decorator.h"

Go to the source code of this file.

Namespaces

 PNS
 Push and Shove diff pair dimensions (gap) settings dialog.
 

Functions

static DIRECTION_45::AngleType PNS::angle (const VECTOR2I &a, const VECTOR2I &b)
 
static bool PNS::checkGap (const SHAPE_LINE_CHAIN &p, const SHAPE_LINE_CHAIN &n, int gap)
 
static VECTOR2I PNS::makeGapVector (VECTOR2I dir, int length)
 
bool PNS::commonParallelProjection (SEG n, SEG p, SEG &pClip, SEG &nClip)