golib  0.5
goPlot::Points2DSimple< Real > Class Template Reference

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.
 
- Public Member Functions inherited from goPlot::Points2DT< Real >
 Points2DT (int N)
 
virtual Real x (int i) const
 
virtual Real y (int i) const
 Return i'th point x value.
 

Detailed Description

template<class Real>
class goPlot::Points2DSimple< Real >

Simple 2D points provider. Just stores the points in a C array.


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