MathPlot
Public Member Functions | Public Attributes | List of all members
mpRange Struct Reference

Represents a numeric range with minimum and maximum values. More...

#include <mathplot.h>

Public Member Functions

 mpRange (double value1, double value2)
 
void Set (double _min, double _max)
 
void Assign (double value1, double value2)
 
void Update (double value)
 
void Update (double _min, double _max)
 
void Update (mpRange range)
 
void Check (void)
 
double Length (void) const
 
double GetCenter (void) const
 
void ToLog (void)
 
bool PointIsInside (double point) const
 
bool operator== (const mpRange &other) const
 

Public Attributes

double min = 0.0f
 
double max = 0.0f
 

Detailed Description

Represents a numeric range with minimum and maximum values.

This struct holds a range defined by min and max values. It supports equality comparison using the default operator==.