ISCE_INSAR/library/isceLib/include/Poly2d.h

33 lines
681 B
C
Raw Normal View History

2019-01-16 19:40:08 +00:00
//
// Author: Joshua Cohen
// Copyright 2017
//
#ifndef ISCELIB_POLY2D_H
#define ISCELIB_POLY2D_H
namespace isceLib {
struct Poly2d {
int rangeOrder;
int azimuthOrder;
double rangeMean;
double azimuthMean;
double rangeNorm;
double azimuthNorm;
double *coeffs;
Poly2d();
Poly2d(int,int,double,double,double,double);
Poly2d(int,int,double,double,double,double,double*);
Poly2d(const Poly2d&);
~Poly2d();
int isNull();
void resetCoeffs();
void setCoeff(int,int,double);
double getCoeff(int,int);
double eval(double,double);
};
}
#endif