56 std::unique_ptr<FOOTPRINT> footprint = std::make_unique<FOOTPRINT>( &board );
61 std::unique_ptr<PAD> padA =
makeRoundPad( footprint.get(), posA, { 0, 0 } );
62 std::unique_ptr<PAD> padB =
makeRoundPad( footprint.get(), posB, { 0, 0 } );
78 std::unique_ptr<FOOTPRINT> footprint = std::make_unique<FOOTPRINT>( &board );
86 std::unique_ptr<PAD> padB =
makeRoundPad( footprint.get(), posB, { 0, 0 } );
105 std::unique_ptr<FOOTPRINT> footprint = std::make_unique<FOOTPRINT>( &board );
132 std::unique_ptr<FOOTPRINT> footprint = std::make_unique<FOOTPRINT>( &board );
139 std::unique_ptr<PAD> padB =
makeRoundPad( footprint.get(), posB, { 0, 0 } );
141 VECTOR2I originalPosA = padA->GetPosition();
142 VECTOR2I originalPosB = padB->GetPosition();
static void SwapShapePositions(PAD *aLhs, PAD *aRhs)
Swap the visible shape positions of two pads, preserving each pad's own shape offset.
BOOST_CHECK_EQUAL(result, "25.4")