| 
    KiCad PCB EDA Suite
    
   | 
 
Functions | |
| bool | PadHasMeaningfulRoundingRadius (const PAD &aPad, PCB_LAYER_ID aLayer) | 
| Returns true if the pad's rounding ratio is valid (i.e.   | |
| double | GetDefaultIpcRoundingRatio (const PAD &aPad, PCB_LAYER_ID aLayer) | 
| Get a sensible default for a rounded rectangle pad's rounding ratio.   | |
| double PAD_UTILS::GetDefaultIpcRoundingRatio | ( | const PAD & | aPad, | 
| PCB_LAYER_ID | aLayer ) | 
Get a sensible default for a rounded rectangle pad's rounding ratio.
According to IPC-7351C, this is 25%, or 0.25mm, whichever is smaller
Definition at line 27 of file pad_utils.cpp.
References PAD::GetSize(), pcbIUScale, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by DIALOG_PAD_PROPERTIES::OnPadShapeSelection(), and PAD::SetFrontShape().
| bool PAD_UTILS::PadHasMeaningfulRoundingRadius | ( | const PAD & | aPad, | 
| PCB_LAYER_ID | aLayer ) | 
Returns true if the pad's rounding ratio is valid (i.e.
the pad has a shape where that is meaningful)
Definition at line 44 of file pad_utils.cpp.
References CHAMFERED_RECT, PAD::GetShape(), and ROUNDRECT.
Referenced by DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), PAD_DESC::PAD_DESC(), and PAD::SetFrontShape().