|
KiCad PCB EDA Suite
|
A point that may be either a line endpoint or an arc segment. More...
#include <pads_parser.h>
Public Member Functions | |
| ARC_POINT () | |
| ARC_POINT (double aX, double aY) | |
| ARC_POINT (double aX, double aY, const ARC &aArc) | |
Public Attributes | |
| double | x |
| Endpoint X coordinate. | |
| double | y |
| Endpoint Y coordinate. | |
| bool | is_arc |
| True if this segment is an arc, false for line. | |
| ARC | arc |
| Arc parameters (only valid when is_arc is true) | |
A point that may be either a line endpoint or an arc segment.
In PADS format, polylines can contain arc corners. When is_arc is true, the arc field defines the arc from the previous point to this point's x,y.
Definition at line 71 of file pads_parser.h.
|
inline |
|
inline |
|
inline |
| ARC PADS_IO::ARC_POINT::arc |
Arc parameters (only valid when is_arc is true)
Definition at line 76 of file pads_parser.h.
Referenced by ARC_POINT(), ARC_POINT(), ARC_POINT(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS_BINARY::loadTracksAndVias(), PCB_IO_PADS::makeMidpointArc(), PADS_IO::PARSER::parseSectionROUTES(), and PCB_IO_PADS::setPcbShapeArc().
| bool PADS_IO::ARC_POINT::is_arc |
True if this segment is an arc, false for line.
Definition at line 75 of file pads_parser.h.
Referenced by ARC_POINT(), ARC_POINT(), ARC_POINT(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_IO_PADS::loadBoardOutline(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS::loadGraphicLines(), PCB_IO_PADS::loadTracksAndVias(), PCB_IO_PADS_BINARY::loadTracksAndVias(), and PADS_IO::PARSER::parseSectionROUTES().
| double PADS_IO::ARC_POINT::x |
Endpoint X coordinate.
Definition at line 73 of file pads_parser.h.
Referenced by ARC_POINT(), ARC_POINT(), ARC_POINT(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_IO_PADS::loadBoardOutline(), PCB_IO_PADS_BINARY::loadBoardOutline(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS::loadGraphicLines(), PCB_IO_PADS::loadTracksAndVias(), PCB_IO_PADS_BINARY::loadTracksAndVias(), PCB_IO_PADS::makeMidpointArc(), PADS_IO::PARSER::parseSectionROUTES(), and PCB_IO_PADS::setPcbShapeArc().
| double PADS_IO::ARC_POINT::y |
Endpoint Y coordinate.
Definition at line 74 of file pads_parser.h.
Referenced by ARC_POINT(), ARC_POINT(), ARC_POINT(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_IO_PADS::loadBoardOutline(), PCB_IO_PADS_BINARY::loadBoardOutline(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS::loadGraphicLines(), PCB_IO_PADS::loadTracksAndVias(), PCB_IO_PADS_BINARY::loadTracksAndVias(), PCB_IO_PADS::makeMidpointArc(), PADS_IO::PARSER::parseSectionROUTES(), and PCB_IO_PADS::setPcbShapeArc().