KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
struct | CHAMFER_PARAMS |
Parameters that define a simple chamfer operation. More... | |
struct | CHAMFER_RESULT |
Functions | |
std::optional< CHAMFER_RESULT > | ComputeChamferPoints (const SEG &aSegA, const SEG &aSegB, const CHAMFER_PARAMS &aChamferParams) |
Compute the chamfer points for a given line pair and chamfer parameters. More... | |
std::optional< CHAMFER_RESULT > ComputeChamferPoints | ( | const SEG & | aSegA, |
const SEG & | aSegB, | ||
const CHAMFER_PARAMS & | aChamferParams | ||
) |
Compute the chamfer points for a given line pair and chamfer parameters.
Definition at line 26 of file chamfer.cpp.
References SEG::A, SEG::B, chamfer, SEG::Length(), CHAMFER_PARAMS::m_chamfer_setback_a, and CHAMFER_PARAMS::m_chamfer_setback_b.
Referenced by DoChamferTestChecks(), and LINE_CHAMFER_ROUTINE::ProcessLinePair().