Hamlib  1.2.15
Functions
locator.c File Reference

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.
double dmmm2dec (int degrees, double minutes, int sw)
 Convert D M.MMM notation to decimal degrees.
int dec2dms (double dec, int *degrees, int *minutes, double *seconds, int *sw)
 Convert decimal degrees angle into DMS notation.
int dec2dmmm (double dec, int *degrees, double *minutes, int *sw)
 Convert a decimal angle into D M.MMM notation.
int locator2longlat (double *longitude, double *latitude, const char *locator)
 Convert Maidenhead grid locator to Longitude/Latitude.
int longlat2locator (double longitude, double latitude, char *locator, int pair_count)
 Convert longitude/latitude to Maidenhead grid locator.
int qrb (double lon1, double lat1, double lon2, double lat2, double *distance, double *azimuth)
 Calculate the distance and bearing between two points.
double distance_long_path (double distance)
 Calculate the long path distance between two points.
double azimuth_long_path (double azimuth)
 Calculate the long path bearing between two points.

Detailed Description

locator and bearing conversion interface

Author:
Stephane Fillod and the Hamlib Group
Date:
2000-2010

Hamlib Interface - locator, bearing, and conversion calls

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by doxygen 1.7.6.1

Hamlib documentation for version 1.2.15 -- Thu Feb 2 2012 21:37:28
Project page: http://www.hamlib.org