KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pads_sch_parser.cpp File Reference
#include "pads_sch_parser.h"
#include <io/pads/pads_common.h>
#include <ki_exception.h>
#include <reporter.h>
#include <algorithm>
#include <cmath>
#include <fstream>
#include <sstream>
#include <regex>

Go to the source code of this file.

Namespaces

namespace  PADS_SCH
 

Functions

VECTOR2I PADS_SCH::padsSchArcMidpoint (const VECTOR2I &aStart, const VECTOR2I &aEnd, const VECTOR2I &aCenter)
 Midpoint of the arc through aStart and aEnd about aCenter, on the minor-arc side (the perpendicular bisector intersection); callers flip it to the major-arc side per their own sweep convention.