source: subversion/applications/editors/osm-editor/qt3/llgr.h @ 16590

Last change on this file since 16590 was 1158, checked in by nick, 13 years ago

moved current version to qt3 directory in preparation for qt4

File size: 1.4 KB
Line 
1/*
2    JEEPS functions (c) Alan Bleasby, see llgr.cpp, otherwise...
3
4    Copyright (C) 2005 Nick Whitelegg, Hogweed Software, nick@hogweed.org
5
6    This program is free software; you can redistribute it and/or modify
7    it under the terms of the GNU Lesser General Public License as published by
8    the Free Software Foundation; either version 2 of the License, or
9    (at your option) any later version.
10
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU Lesser General Public License for more details.
15
16    You should have received a copy of the GNU Lesser General Public License
17    along with this program; if not, write to the Free Software
18    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
19
20 */
21#ifndef LLGR_H
22#define LLGR_H
23#include "EarthPoint.h"
24
25namespace OpenStreetMap
26{
27
28
29EarthPoint ll_to_gr ( const EarthPoint& ll );
30EarthPoint ll_to_gr ( double lat, double lon );
31
32void modGPS_Math_LatLon_To_EN(double *E, double *N, double phi,
33                           double lambda, double N0, double E0,
34                           double phi0, double lambda0,
35                           double F0, double a, double b);
36
37EarthPoint gr_to_ll(const EarthPoint& gridref);
38
39void modGPS_Math_EN_To_LatLon(double E, double N, double *phi,
40                           double *lambda, double N0, double E0,
41                           double phi0, double lambda0,
42                           double F0, double a, double b);
43
44}
45
46#endif
Note: See TracBrowser for help on using the repository browser.