summaryrefslogtreecommitdiff
path: root/src/ProjectionSphaeric.H
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2005-11-14 23:28:21 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2005-11-14 23:28:21 +0100
commitacd87aafd084e1573242d0e6023bb4b3bc25d9ef (patch)
tree08208ba09a5cf6e9eba92584230b4d6d5859b914 /src/ProjectionSphaeric.H
parent2658022a5f71690c18478d94c64d445aa38a68ee (diff)
use double coordinates in ProjectionSphaeric::comp_params()
to make it numerically more stable
Diffstat (limited to 'src/ProjectionSphaeric.H')
-rw-r--r--src/ProjectionSphaeric.H4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ProjectionSphaeric.H b/src/ProjectionSphaeric.H
index 30a4413..fcaffa8 100644
--- a/src/ProjectionSphaeric.H
+++ b/src/ProjectionSphaeric.H
@@ -30,10 +30,12 @@ class ProjectionSphaeric : public Projection {
double comp_dir_view(const Hill *m1, const Hill *m2, double d_m1_2, double d_m2_2, double scale, double sign3);
double comp_nick_view(const Hill *m1, const Hill *m2, double d_m1_2, double scale, double dir_view, double sign1);
double comp_tilt_view(const Hill *m, double scale, double dir_view, double nick_view);
+ void set_coordinates(const Hill *m, const ViewParams *parms,
+ double *x, double *y);
public:
void set_coordinates(Hill *m, const ViewParams *parms);
-
+
int comp_params(const Hill *m1, const Hill *m2, ViewParams *parms);
};
#endif