kstars
ksutils.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 kstars.h - K Desktop Planetarium 00003 ------------------- 00004 begin : Mon Jan 7 2002 00005 copyright : (C) 2002 by Mark Hollomon 00006 email : mhh@mindspring.com 00007 ***************************************************************************/ 00008 /*************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 00027 #ifndef KSTARS_KSUTILS_H_ 00028 #define KSTARS_KSUTILS_H_ 00029 00030 class QFile; 00031 00032 class KSUtils { 00033 public: 00044 static bool openDataFile( QFile &file, const QString &filename ); 00045 00052 static long double lagrangeInterpolation(const long double x[], const long double v[], int n, long double xval); 00053 00054 private: 00059 KSUtils(); 00060 }; 00061 00062 #endif