WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Range.h
1#ifndef _WINC_RANGE
2#define _WINC_RANGE
3
4namespace WXP {
5 struct Range {
6 float min;
7 float max;
8
9 Range();
10 Range( float min, float max );
11 int init();
12 int set( float min, float max );
14 inline float getMin(){ return min; };
16 inline float getMax(){ return max; };
17 float getRange();
18 int print();
19 };
20}
21#endif
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines a simple range of values.
Definition Range.h:5
float getRange()
Definition Range.cc:55
float getMax()
Definition Range.h:16
int print()
Definition Range.cc:64
int init()
Definition Range.cc:34
Range()
Definition Range.cc:18
int set(float min, float max)
Definition Range.cc:45
float getMin()
Definition Range.h:14