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 69 of file dielectric_material.cpp.

70 {
71  // return a wxString to print/display Epsilon R
72  // note: we do not want scientific notation
73  wxString txt = Double2Str( m_EpsilonR );
74  return txt;
75 }
std::string Double2Str(double aValue)
Print a float number without using scientific notation and no trailing 0 We want to avoid scientific ...

References Double2Str(), and m_EpsilonR.

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

◆ FormatLossTangent()

wxString DIELECTRIC_SUBSTRATE::FormatLossTangent ( )

Definition at line 78 of file dielectric_material.cpp.

79 {
80  // return a wxString to print/display Loss Tangent
81  // note: we do not want scientific notation
82  wxString txt = Double2Str( m_LossTangent );
83  return txt;
84 }
std::string Double2Str(double aValue)
Print a float number without using scientific notation and no trailing 0 We want to avoid scientific ...

References Double2Str(), and 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: