From c79baa853f258ef78a8205b27c1708f347e23340 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Wed, 28 May 2008 22:29:46 +0200 Subject: prepare 0.2.4 --- NEWS | 6 ++++++ configure.ac | 2 +- src/Panorama.cxx | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index f238bff..13e9940 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,12 @@ gipfel ChangeLog ================= +gipfel-0.2.4 + - Fix another issue in the rectilinear projection code + that affected non-horizontally shot pictures. + - Use a more robust forumla for spherical distance computation. + - Take refraction effect into account. + gipfel-0.2.3 - Fix a major shortcoming in the rectilinear projection code. This improves accuracy quite a bit, mostly in diff --git a/configure.ac b/configure.ac index b5b9208..400121d 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(gipfel, 0.2.3, Johannes.Hofmann@gmx.de) +AC_INIT(gipfel, 0.2.4, Johannes.Hofmann@gmx.de) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src/Panorama.H]) AC_CONFIG_HEADER(config.h) diff --git a/src/Panorama.cxx b/src/Panorama.cxx index aa358ec..aba5fbf 100644 --- a/src/Panorama.cxx +++ b/src/Panorama.cxx @@ -431,6 +431,8 @@ Panorama::alpha(const Hill *m) { return fmod(atan2(sin_alph, cos_alph) + 2.0 * pi_d, 2.0 * pi_d); } +// approximation of refraction effect as described by Tom Chester at +// http://tchester.org/sgm/analysis/peaks/refraction.html double Panorama::refraction(const Hill *m) { double a, b, c, alpha = 6.5, T0 = 10.0; -- cgit v1.2.3