RELEASE/1.2debug-cidebug-ci-sanitiserswalls-datawalls-data-hanging-as-warning
Last change
on this file since 9fcc81a was
ac9afd6,
checked in by Olly Betts <olly@…>, 9 years ago
|
src/thgeomag.c,src/thgeomag.h: Make thgeomag() return declination in
radians, since that's what we want and it's more consistent with it
taking lat and lon in radians.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[ba701e8] | 1 | /* |
---|
| 2 | * Copyright (C) 2006 Martin Budaj |
---|
| 3 | * |
---|
| 4 | * $Date: $ |
---|
| 5 | * $RCSfile: $ |
---|
| 6 | * $Revision: $ |
---|
| 7 | * |
---|
| 8 | * -------------------------------------------------------------------- |
---|
| 9 | * This program is free software; you can redistribute it and/or modify |
---|
| 10 | * it under the terms of the GNU General Public License as published by |
---|
| 11 | * the Free Software Foundation; either version 2 of the License, or |
---|
| 12 | * any later version. |
---|
| 13 | * |
---|
| 14 | * This program is distributed in the hope that it will be useful, |
---|
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 17 | * GNU General Public License for more details. |
---|
| 18 | * |
---|
| 19 | * You should have received a copy of the GNU General Public License |
---|
| 20 | * along with this program; if not, write to the Free Software |
---|
| 21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
| 22 | * -------------------------------------------------------------------- |
---|
| 23 | */ |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | #ifndef thgeomag_h |
---|
| 27 | #define thgeomag_h |
---|
| 28 | |
---|
| 29 | double thgeomag(double lat, double lon, double h, double dat); |
---|
| 30 | // lat, long in radians, |
---|
| 31 | // h = height above ellipsoid in metres, |
---|
| 32 | // dat decimal year |
---|
[ac9afd6] | 33 | // output declination in radians |
---|
[ba701e8] | 34 | |
---|
| 35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.