|
KiCad PCB EDA Suite
|
Arc definition using center point, radius, and angles. More...
#include <pads_parser.h>
Public Attributes | |
| double | cx |
| Center X coordinate. | |
| double | cy |
| Center Y coordinate. | |
| double | radius |
| Arc radius. | |
| double | start_angle |
| Start angle in degrees (0 = +X, CCW positive) | |
| double | delta_angle |
| Arc sweep angle in degrees (positive = CCW) | |
Arc definition using center point, radius, and angles.
PADS uses center/radius/angles representation for arcs. Angles are in degrees, with 0 pointing right (+X) and positive angles going counter-clockwise.
Definition at line 56 of file pads_parser.h.
| double PADS_IO::ARC::cx |
Center X coordinate.
Definition at line 58 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS_BINARY::loadTracksAndVias(), PCB_IO_PADS::makeMidpointArc(), PADS_IO::PARSER::parseSectionBOARD(), PADS_IO::PARSER::parseSectionLINES(), PADS_IO::PARSER::parseSectionPARTDECAL(), PADS_IO::PARSER::parseSectionPOUR(), and PCB_IO_PADS::setPcbShapeArc().
| double PADS_IO::ARC::cy |
Center Y coordinate.
Definition at line 59 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_IO_PADS::loadFootprints(), PCB_IO_PADS_BINARY::loadTracksAndVias(), PCB_IO_PADS::makeMidpointArc(), and PCB_IO_PADS::setPcbShapeArc().
| double PADS_IO::ARC::delta_angle |
Arc sweep angle in degrees (positive = CCW)
Definition at line 62 of file pads_parser.h.
Referenced by 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().
| double PADS_IO::ARC::radius |
Arc radius.
Definition at line 60 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), and PCB_IO_PADS::makeMidpointArc().
| double PADS_IO::ARC::start_angle |
Start angle in degrees (0 = +X, CCW positive)
Definition at line 61 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE().