KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SMITH_VIEW Struct Reference

< Smith chart placement plus pan/zoom, maps a gamma point to a screen pixel and back. More...

#include <smith_math.h>

Public Member Functions

wxPoint ToScreen (double aRe, double aIm) const
 
wxRealPoint ToGamma (const wxPoint &aPt) const
 

Public Attributes

wxPoint center
 
double radius = 0.0
 
double zoom = 1.0
 
wxRealPoint pan
 
wxRect plotRect
 

Detailed Description

< Smith chart placement plus pan/zoom, maps a gamma point to a screen pixel and back.

Definition at line 31 of file smith_math.h.

Member Function Documentation

◆ ToGamma()

wxRealPoint SMITH_VIEW::ToGamma ( const wxPoint & aPt) const
inline

◆ ToScreen()

wxPoint SMITH_VIEW::ToScreen ( double aRe,
double aIm ) const
inline

Member Data Documentation

◆ center

◆ pan

wxRealPoint SMITH_VIEW::pan

◆ plotRect

wxRect SMITH_VIEW::plotRect

Definition at line 37 of file smith_math.h.

Referenced by SMITH_GRID::GetChartView(), SMITH_GRID::Plot(), and SMITH_TRACE::Plot().

◆ radius

◆ zoom


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