libpgplotxx.a (C++ interface to PGPLOT)

◆ operator*=() [2/2]

Trange& pgplot::Trange::operator*= ( const Trange range)
inline

scale relative to other range

Definition at line 109 of file structs.h.

References fullrange(), max, and min.

110  {
111  // order matters!
112  float d=this->fullrange();
113  max=min+range.max*d;
114  min+=range.min*d;
115  return(*this);
116  }
float fullrange() const
return absolute range
Definition: structs.h:91
float min
range [min....max]
Definition: structs.h:44
float max
Definition: structs.h:44
Here is the call graph for this function: