golib
0.5
|
Simple 2D points provider. Just stores the points in a C array. More...
#include <plot.h>
Public Member Functions | |
Points2DSimple (int count=1) | |
Points2DSimple (Real *ptr, size_t size) | |
template<class T > | |
Points2DSimple (const Points2DT< T > &other) | |
template<class T > | |
Points2DSimple< Real > & | operator= (const Points2DT< T > &other) |
virtual void | set (int i, Real x, Real y) |
Set point number i. | |
virtual Real | x (int i) |
virtual Real | y (int i) |
const Real * | operator() (int i) const |
virtual size_t | size () const |
Return number of points. | |
![]() | |
Points2DT (int N) | |
virtual Real | x (int i) const |
virtual Real | y (int i) const |
Return i'th point x value. | |
Simple 2D points provider. Just stores the points in a C array.