[Kst] extragear/graphics/kst/kst/datasources/healpix
Ted Kisner
tskisner.public at gmail.com
Mon Nov 7 03:11:05 CET 2005
SVN commit 478541 by tskisner:
Remove autoscale buffer- it is annoying in some circumstances
M +1 -19 healpix.cpp
--- trunk/extragear/graphics/kst/kst/datasources/healpix/healpix.cpp #478540:478541
@@ -687,25 +687,7 @@
mapMinTheta = 0.0;
mapMaxPhi = 2.0*HEALPIX_PI;
mapMinPhi = 0.0;
- } else { // add 3% buffers to the range
- mapMaxTheta *= 1.03;
- if (mapMaxTheta > HEALPIX_PI) {
- mapMaxTheta = HEALPIX_PI;
- }
- mapMinTheta *= 0.97;
- if (mapMinTheta < 0.0) {
- mapMinTheta = 0.0;
- }
- //autoscaling in phi only supports min < max
- mapMaxPhi *= 1.03;
- if (mapMaxPhi > 2.0*HEALPIX_PI) {
- mapMaxPhi = 2.0*HEALPIX_PI;
- }
- mapMinPhi *= 0.97;
- if (mapMinPhi < 0.0) {
- mapMinPhi = 0.0;
- }
- }
+ }
if (_autoTheta) {
_thetaMin = mapMinTheta;
_thetaMax = mapMaxTheta;
More information about the Kst
mailing list