KiCad PCB EDA Suite
pns_utils.cpp File Reference
#include "pns_utils.h"
#include "pns_line.h"
#include "pns_via.h"
#include "pns_router.h"
#include <geometry/shape_segment.h>
#include <cmath>

Go to the source code of this file.

Namespaces

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

Functions

const SHAPE_LINE_CHAIN PNS::OctagonalHull (const VECTOR2I &aP0, const VECTOR2I &aSize, int aClearance, int aChamfer)
 Various utility functions. More...
 
const SHAPE_LINE_CHAIN PNS::SegmentHull (const SHAPE_SEGMENT &aSeg, int aClearance, int aWalkaroundThickness)
 
static void PNS::MoveDiagonal (SEG &aDiagonal, const SHAPE_LINE_CHAIN &aVertices, int aClearance)
 
const SHAPE_LINE_CHAIN PNS::ConvexHull (const SHAPE_CONVEX &convex, int aClearance)
 Function ConvexHull() More...
 
SHAPE_RECT PNS::ApproximateSegmentAsRect (const SHAPE_SEGMENT &aSeg)
 
OPT_BOX2I PNS::ChangedArea (const ITEM *aItemA, const ITEM *aItemB)
 
OPT_BOX2I PNS::ChangedArea (const LINE &aLineA, const LINE &aLineB)