KiCad PCB EDA Suite
DIELECTRIC_SUBSTRATE Struct Reference

#include <dielectric_material.h>

Public Member Functions

wxString FormatEpsilonR ()
 
wxString FormatLossTangent ()
 

Public Attributes

wxString m_Name
 
double m_EpsilonR
 
double m_LossTangent
 

Detailed Description

Definition at line 37 of file dielectric_material.h.

Member Function Documentation

◆ FormatEpsilonR()

wxString DIELECTRIC_SUBSTRATE::FormatEpsilonR ( )

Definition at line 71 of file dielectric_material.cpp.

72 {
73  // return a wxString to print/display Epsilon R
74  wxString txt;
75  txt.Printf( "%.1f", m_EpsilonR );
76  return txt;
77 }

References m_EpsilonR.

Referenced by DIALOG_DIELECTRIC_MATERIAL::initMaterialList(), and DIALOG_DIELECTRIC_MATERIAL::onListItemSelected().

◆ FormatLossTangent()

wxString DIELECTRIC_SUBSTRATE::FormatLossTangent ( )

Definition at line 80 of file dielectric_material.cpp.

81 {
82  // return a wxString to print/display Loss Tangent
83  wxString txt;
84  txt.Printf( "%g", m_LossTangent );
85  return txt;
86 }

References m_LossTangent.

Referenced by DIALOG_DIELECTRIC_MATERIAL::initMaterialList(), and DIALOG_DIELECTRIC_MATERIAL::onListItemSelected().

Member Data Documentation

◆ m_EpsilonR

◆ m_LossTangent

◆ m_Name


The documentation for this struct was generated from the following files: