Public Member Functions | Public Attributes | List of all members
Stg::Bounds Class Reference

#include <stage.hh>

Public Member Functions

 Bounds ()
 
 Bounds (double min, double max)
 
double Constrain (double value)
 returns value, but no smaller than min and no larger than max. More...
 
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.

Definition at line 407 of file stage.hh.

Constructor & Destructor Documentation

◆ Bounds() [1/2]

Stg::Bounds::Bounds ( )
inline

Definition at line 414 of file stage.hh.

◆ Bounds() [2/2]

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

Definition at line 415 of file stage.hh.

Member Function Documentation

◆ Constrain()

double Bounds::Constrain ( double  value)

returns value, but no smaller than min and no larger than max.

Definition at line 159 of file model.cc.

◆ Load()

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

Definition at line 153 of file model.cc.

Member Data Documentation

◆ max

double Stg::Bounds::max

largest value in range, initially zero

Definition at line 412 of file stage.hh.

◆ min

double Stg::Bounds::min

smallest value in range, initially zero

Definition at line 410 of file stage.hh.


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


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Feb 28 2022 23:48:56