KiCad PCB EDA Suite
Loading...
Searching...
No Matches
graphics_importer_pl_editor.cpp File Reference
#include "graphics_importer_pl_editor.h"
#include <algorithm>
#include <cmath>
#include <bezier_curves.h>

Go to the source code of this file.

Variables

static constexpr double FLATTEN_ERROR_MM = 0.01
 How far a flattened curve may sit from the real one, in mm.
 

Variable Documentation

◆ FLATTEN_ERROR_MM

double FLATTEN_ERROR_MM = 0.01
staticconstexpr

How far a flattened curve may sit from the real one, in mm.

Definition at line 28 of file graphics_importer_pl_editor.cpp.

Referenced by GRAPHICS_IMPORTER_PL_EDITOR::AddSpline(), and GRAPHICS_IMPORTER_PL_EDITOR::flattenEllipseArc().