From 23900d0b19e5c978934108f6a54aa82f6c7f27cb Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 17 Dec 2006 16:13:32 +0100 Subject: use LSQ for all projection types --- src/ProjectionRectilinear.H | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/ProjectionRectilinear.H (limited to 'src/ProjectionRectilinear.H') diff --git a/src/ProjectionRectilinear.H b/src/ProjectionRectilinear.H new file mode 100644 index 0000000..1fc7417 --- /dev/null +++ b/src/ProjectionRectilinear.H @@ -0,0 +1,35 @@ +// +// Copyright 2006 Johannes Hofmann +// +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. + +#ifndef PROJECTIONRECTILINEAR_H +#define PROJECTIONRECTILINEAR_H + +#include "ProjectionLSQ.H" + +class ProjectionRectilinear : public ProjectionLSQ { + public: + +#define ARGS double c_view, double c_nick, double c_tilt, double scale, double k0, double k1, double m_view, double m_nick + + virtual double mac_x(ARGS); + virtual double mac_y(ARGS); + virtual double mac_x_dc_view(ARGS); + virtual double mac_x_dc_nick(ARGS); + virtual double mac_x_dc_tilt(ARGS); + virtual double mac_x_dscale(ARGS); + virtual double mac_x_dk0(ARGS); + virtual double mac_x_dk1(ARGS); + virtual double mac_y_dc_view(ARGS); + virtual double mac_y_dc_nick(ARGS); + virtual double mac_y_dc_tilt(ARGS); + virtual double mac_y_dscale(ARGS); + virtual double mac_y_dk0(ARGS); + virtual double mac_y_dk1(ARGS); + +#undef ARGS + +}; +#endif -- cgit v1.2.3