diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-12-18 19:15:31 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-12-18 19:15:31 +0100 |
commit | 2bb6b0766cbc941fa3bfc1b5ed17cf530c841ba3 (patch) | |
tree | d3a96ad10b7d51ebf75c3b466a51a0d16356b569 /src/Panorama.cxx | |
parent | faf5dff31fcbafb5cfa8575b85ffaf2408ff5d39 (diff) |
add get_distortion_parms()
Diffstat (limited to 'src/Panorama.cxx')
-rw-r--r-- | src/Panorama.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Panorama.cxx b/src/Panorama.cxx index 32e5de2..32d96db 100644 --- a/src/Panorama.cxx +++ b/src/Panorama.cxx @@ -189,6 +189,12 @@ Panorama::set_scale(double s) { } void +Panorama::get_distortion_params(double *k0, double *k1) { + *k0 = parms.k0; + *k1 = parms.k1; +} + +void Panorama::set_distortion_params(double k0, double k1) { parms.k0 = k0; parms.k1 = k1; |