28 #ifndef LATTICES_PIXELCURVE1D_H
29 #define LATTICES_PIXELCURVE1D_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/scimath/Functionals/Function1D.h>
35 #include <casacore/casa/Arrays/Vector.h>
101 explicit PixelCurve1D (
double x1=0,
double y1=0,
double x2=1,
double y2=1,
PixelCurve1D(double x1=0, double y1=0, double x2=1, double y2=1, uInt npoints=0)
Define a straight line from (x1,y1) to (x2,y2).
PixelCurve1D(const Vector< double > &x, const Vector< double > &y, uInt npoints=0)
PixelCurve1D(const Vector< Int > &x, const Vector< Int > &y, uInt npoints=0)
Define a curve from a polyline with the given points.
PixelCurve1D(const Vector< float > &x, const Vector< float > &y, uInt npoints=0)
PixelCurve1D(const Function1D< float, float > &, float x1, float x2, uInt npoints=0)
Define a curve with an arbitrary function from x1 to x2.
PixelCurve1D & operator=(const PixelCurve1D &that)
void init(const Vector< double > &x, const Vector< double > &y, uInt npoints)
Initialize the object.
void getPixelCoord(Vector< float > &x, Vector< float > &y, uInt start, uInt end, uInt incr=1) const
Get the pixel coordinates in the original lattice for point start till end with given step.
PixelCurve1D(const PixelCurve1D &that)
this file contains all the compiler specific defines