|
KiCad PCB EDA Suite
|
Public Member Functions | |
| std::unique_ptr< FOOTPRINT > | CreateFootprint (BOARD &aBoard, const ALIGN_FP_DEF &padPositions) |
| void | ExecuteTestCase (const FP_ALIGNMENT_TEST_CASE &testCase, bool originalFootprintIsFlipped) |
Public Attributes | |
| VECTOR2I | m_PosShift |
| EDA_ANGLE | m_AngleShift |
Definition at line 69 of file test_footprint_realignment.cpp.
|
inline |
Definition at line 74 of file test_footprint_realignment.cpp.
References ALIGN_FP_DEF::m_pads, PAD, and pad.
Referenced by ExecuteTestCase().
|
inline |
Definition at line 90 of file test_footprint_realignment.cpp.
References ANGLE_45, BOOST_REQUIRE(), BOOST_TEST(), ComputeFootprintShift(), CreateFootprint(), LEFT_RIGHT, m_AngleShift, FP_ALIGNMENT_TEST_CASE::m_ExpectedAngleShift, FP_ALIGNMENT_TEST_CASE::m_ExpectedPosShift, FP_ALIGNMENT_TEST_CASE::m_NewPadPositions, FP_ALIGNMENT_TEST_CASE::m_OrigPadPositions, m_PosShift, and RotatePoint().
| EDA_ANGLE FP_REALIGNMENT_TEST_FIXTURE::m_AngleShift |
Definition at line 72 of file test_footprint_realignment.cpp.
Referenced by ExecuteTestCase().
| VECTOR2I FP_REALIGNMENT_TEST_FIXTURE::m_PosShift |
Definition at line 71 of file test_footprint_realignment.cpp.
Referenced by ExecuteTestCase().