Stg::Bounds Class Reference

#include <stage.hh>

List of all members.

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
double min
 smallest value in range, initially zero

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

largest value in range, initially zero

smallest value in range, initially zero


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