Point editor: support arcs in polygons
Description
Right now, PCB_POINT_EDITOR::buildForPolyOutline
flattens polygons that contain arcs and adds edit points for internal arc segments. Moving any of these segments results in the polygon being flatted in the file (dropping arc representations).
Ideally we should allow inline point-editing of both the arc and straight segment portions of such a polygon.
KiCad Version
Application: KiCad PCB Editor
Version: (5.99.0-11306-g67762a11f6), debug build
Libraries:
wxWidgets 3.0.6
Platform: Linux 5.4.0-77-generic x86_64, 64 bit, Little endian, wxGTK, ubuntu, x11
wxWidgets: 3.0.6 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.2
Curl: 7.68.0
ngspice: 31
Compiler: GCC 9.3.0 with C++ ABI 1013
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=OFF
KICAD_SANITIZE_ADDRESS=OFF
KICAD_SANITIZE_THREADS=OFF