|
GRASS Programmer's Manual
6.4.2(2012)
|
GIS Library - Window formatting functions. More...
#include <stdio.h>#include <grass/gis.h>
Go to the source code of this file.
Functions | |
| int | G_format_northing (double north, char *buf, int projection) |
| Northing to ASCII. | |
| int | G_format_easting (double east, char *buf, int projection) |
| Easting to ASCII. | |
| int | G_format_resolution (double res, char *buf, int projection) |
| Resolution to ASCII. | |
GIS Library - Window formatting functions.
(C) 2001-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file wind_format.c.
| int G_format_easting | ( | double | east, |
| char * | buf, | ||
| int | projection | ||
| ) |
Easting to ASCII.
Converts the double representation of the east coordinate to its ASCII representation (into buf).
| [in] | east | easting |
| [in,out] | buf | buffer to hold formatted string |
| [in] | projection,or | -1 to force full precision FP |
Definition at line 61 of file wind_format.c.
References FALSE, G_lon_format(), and TRUE.
Referenced by D_check_map_window(), E_edit_cellhd(), G__write_Cell_head(), G_get_3dview(), and G_site_format().
| int G_format_northing | ( | double | north, |
| char * | buf, | ||
| int | projection | ||
| ) |
Northing to ASCII.
Converts the double representation of the north coordinate to its ASCII representation (into buf).
| [in] | north | northing |
| [in,out] | buf | buffer to hold formatted string |
| [in] | projection,or | -1 to force full precision FP |
Definition at line 36 of file wind_format.c.
References FALSE, G_lat_format(), and TRUE.
Referenced by D_check_map_window(), E_edit_cellhd(), G__write_Cell_head(), G_get_3dview(), and G_site_format().
| int G_format_resolution | ( | double | res, |
| char * | buf, | ||
| int | projection | ||
| ) |
Resolution to ASCII.
Converts the double representation of the resolution to its ASCII representation (into buf).
| [in] | resolution | |
| [in,out] | buf | buffer to hold formatted string |
| [in] | projection,or | -1 to force full precision FP |
Definition at line 86 of file wind_format.c.
References FALSE, G_llres_format(), and TRUE.
Referenced by E_edit_cellhd(), G__write_Cell_head(), and G__write_Cell_head3().