bar_point Class Reference
#include <bar_point.h>
Inheritance diagram for bar_point:
Public Member Functions | |
bar_point (const float x=0, const float height=0, const float width=0) | |
void | set (const x_type x, const y_type height, const float width=1) |
float | width () const |
float | min_value () const |
Public Member Functions inherited from data_point< float, float > | |
data_point (const x_type x=0, const y_type y=0) | |
float | x () const |
float | y () const |
float | max_value () const |
float | min_value () const |
void | add (const x_type x, const y_type y) |
void | set (const x_type x, const y_type y) |
Friends | |
std::ostream & | operator<< (std::ostream &out, const bar_point &data) |
std::istream & | operator>> (std::istream &in, bar_point &data) |
Additional Inherited Members | |
Public Types inherited from data_point< float, float > | |
typedef float | x_type |
typedef float | y_type |
Detailed Description
Bar data point
Constructor & Destructor Documentation
|
inline |
Constructor
- Parameters
-
x x-coordinate height bar height width bar width
Member Function Documentation
Add a coordinate to the point
- Parameters
-
x x-coordinate height height of the bar width width of the bar
Friends And Related Function Documentation
|
friend |
|
friend |
The documentation for this class was generated from the following file:
- /io/interop/model/plot/bar_point.h