|
|
@ -71,6 +71,13 @@ EDA_ITEM* PCB_TRACK::Clone() const |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void PCB_TRACK::CopyFrom( const BOARD_ITEM* aOther ) |
|
|
|
{ |
|
|
|
wxCHECK( aOther && aOther->Type() == PCB_TRACE_T, /* void */ ); |
|
|
|
*this = *static_cast<const PCB_TRACK*>( aOther ); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PCB_ARC::PCB_ARC( BOARD_ITEM* aParent, const SHAPE_ARC* aArc ) : |
|
|
|
PCB_TRACK( aParent, PCB_ARC_T ) |
|
|
|
{ |
|
|
@ -86,6 +93,13 @@ EDA_ITEM* PCB_ARC::Clone() const |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void PCB_ARC::CopyFrom( const BOARD_ITEM* aOther ) |
|
|
|
{ |
|
|
|
wxCHECK( aOther && aOther->Type() == PCB_ARC_T, /* void */ ); |
|
|
|
*this = *static_cast<const PCB_ARC*>( aOther ); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PCB_VIA::PCB_VIA( BOARD_ITEM* aParent ) : |
|
|
|
PCB_TRACK( aParent, PCB_VIA_T ), |
|
|
|
m_padStack( this ) |
|
|
@ -136,6 +150,13 @@ PCB_VIA& PCB_VIA::operator=( const PCB_VIA &aOther ) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void PCB_VIA::CopyFrom( const BOARD_ITEM* aOther ) |
|
|
|
{ |
|
|
|
wxCHECK( aOther && aOther->Type() == PCB_VIA_T, /* void */ ); |
|
|
|
*this = *static_cast<const PCB_VIA*>( aOther ); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
EDA_ITEM* PCB_VIA::Clone() const |
|
|
|
{ |
|
|
|
return new PCB_VIA( *this ); |
|
|
|