NorMIT-nav  22.09
An IGT application
cx::DoubleRange Struct Reference

Utility class for describing a bounded numeric range. More...

#include <cxDoubleRange.h>

Public Member Functions

 DoubleRange ()
 
 DoubleRange (double min, double max, double step)
 
double constrainValue (double val)
 

Public Attributes

double mMin
 
double mMax
 
double mStep
 

Detailed Description

Utility class for describing a bounded numeric range.

Definition at line 32 of file cxDoubleRange.h.

Constructor & Destructor Documentation

◆ DoubleRange() [1/2]

cx::DoubleRange::DoubleRange ( )
inline

Definition at line 34 of file cxDoubleRange.h.

◆ DoubleRange() [2/2]

cx::DoubleRange::DoubleRange ( double  min,
double  max,
double  step 
)
inline

Definition at line 38 of file cxDoubleRange.h.

Member Function Documentation

◆ constrainValue()

double cx::DoubleRange::constrainValue ( double  val)
inline

Constrain the input to the range |min,max|

Definition at line 68 of file cxDoubleRange.h.

Member Data Documentation

◆ mMax

double cx::DoubleRange::mMax

Definition at line 43 of file cxDoubleRange.h.

◆ mMin

double cx::DoubleRange::mMin

Definition at line 42 of file cxDoubleRange.h.

◆ mStep

double cx::DoubleRange::mStep

Definition at line 44 of file cxDoubleRange.h.


The documentation for this struct was generated from the following file: