Stg::Bounds Class Reference

#include <stage.hh>

Public Member Functions

 Bounds ()
 
 Bounds (double min, double max)
 
double Constrain (double value)
 
BoundsLoad (Worldfile *wf, int section, const char *keyword)
 

Public Attributes

double max
 largest value in range, initially zero More...
 
double min
 smallest value in range, initially zero More...
 

Detailed Description

Bound a range of values, from min to max. min and max are initialized to zero.

Constructor & Destructor Documentation

Stg::Bounds::Bounds ( )
inline
Stg::Bounds::Bounds ( double  min,
double  max 
)
inline

Member Function Documentation

double Bounds::Constrain ( double  value)
Bounds & Bounds::Load ( Worldfile wf,
int  section,
const char *  keyword 
)

Member Data Documentation

double Stg::Bounds::max

largest value in range, initially zero

double Stg::Bounds::min

smallest value in range, initially zero


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