INET Framework for OMNeT++/OMNEST
GaugeFigure.cc File Reference
#include "GaugeFigure.h"
#include "inet/common/INETUtils.h"

Functions

 Register_Figure ("gauge", GaugeFigure)
 
double zeroToOne (double x)
 

Function Documentation

Register_Figure ( "gauge"  ,
GaugeFigure   
)
double zeroToOne ( double  x)
inline

Referenced by GaugeFigure::layout(), and GaugeFigure::setTickGeometry().

56 { return x == 0 ? 1 : x; }