Hamlib
3.0.1
|
locator and bearing conversion interface More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
#include <hamlib/rotator.h>
Functions | |
double | dms2dec (int degrees, int minutes, double seconds, int sw) |
Convert DMS to decimal degrees. More... | |
double | dmmm2dec (int degrees, double minutes, int sw) |
Convert D M.MMM notation to decimal degrees. More... | |
int | dec2dms (double dec, int *degrees, int *minutes, double *seconds, int *sw) |
Convert decimal degrees angle into DMS notation. More... | |
int | dec2dmmm (double dec, int *degrees, double *minutes, int *sw) |
Convert a decimal angle into D M.MMM notation. More... | |
int | locator2longlat (double *longitude, double *latitude, const char *locator) |
Convert Maidenhead grid locator to Longitude/Latitude. More... | |
int | longlat2locator (double longitude, double latitude, char *locator, int pair_count) |
Convert longitude/latitude to Maidenhead grid locator. More... | |
int | qrb (double lon1, double lat1, double lon2, double lat2, double *distance, double *azimuth) |
Calculate the distance and bearing between two points. More... | |
double | distance_long_path (double distance) |
Calculate the long path distance between two points. More... | |
double | azimuth_long_path (double azimuth) |
Calculate the long path bearing between two points. More... | |
locator and bearing conversion interface
Hamlib Interface - locator, bearing, and conversion calls
Hamlib documentation for version 3.0.1 -- Wed Jan 13 2016 15:05:23
Project page: http://www.hamlib.org