GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ll_format.c File Reference
#include <grass/gis.h>
#include <string.h>
Include dependency graph for ll_format.c:

Go to the source code of this file.

Functions

int G_lat_format (double lat, char *buf)
 
char * G_lat_format_string (void)
 
int G_lon_format (double lon, char *buf)
 
char * G_lon_format_string (void)
 
int G_llres_format (double res, char *buf)
 
char * G_llres_format_string (void)
 
int G_lat_parts (double lat, int *d, int *m, double *s, char *h)
 
int G_lon_parts (double lon, int *d, int *m, double *s, char *h)
 

Function Documentation

int G_lat_format ( double  lat,
char *  buf 
)

Definition at line 41 of file ll_format.c.

References G_lat_parts(), dialogs::h, and dialogs::s.

Referenced by G_format_northing().

char* G_lat_format_string ( void  )

Definition at line 53 of file ll_format.c.

int G_lat_parts ( double  lat,
int d,
int m,
double *  s,
char *  h 
)

Definition at line 124 of file ll_format.c.

Referenced by G_lat_format(), and G_llres_format().

int G_llres_format ( double  res,
char *  buf 
)

Definition at line 74 of file ll_format.c.

References G_lat_parts(), dialogs::h, and dialogs::s.

Referenced by G_format_resolution().

char* G_llres_format_string ( void  )

Definition at line 86 of file ll_format.c.

int G_lon_format ( double  lon,
char *  buf 
)

Definition at line 58 of file ll_format.c.

References G_lon_parts(), dialogs::h, and dialogs::s.

Referenced by G_format_easting().

char* G_lon_format_string ( void  )

Definition at line 69 of file ll_format.c.

int G_lon_parts ( double  lon,
int d,
int m,
double *  s,
char *  h 
)

Definition at line 142 of file ll_format.c.

Referenced by G_lon_format().