|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
|
GIS Library - Window formatting functions. More...

Go to the source code of this file.
Functions | |
| void | G_format_northing (double north, char *buf, int projection) |
| Northing to ASCII. | |
| void | G_format_easting (double east, char *buf, int projection) |
| Easting to ASCII. | |
| void | G_format_resolution (double res, char *buf, int projection) |
| Resolution to ASCII. | |
GIS Library - Window formatting functions.
(C) 2001-2009 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.
Easting to ASCII.
Converts the double representation of the east coordinate to its ASCII representation (into buf).
| east | easting | |
| [out] | buf | buffer to hold formatted string |
| projection | projection code, or -1 to force full precision FP |
Definition at line 49 of file wind_format.c.
References FALSE, G_lon_format(), PROJECTION_LL, and TRUE.
Referenced by G__write_Cell_head(), and G_get_3dview().
Northing to ASCII.
Converts the double representation of the north coordinate to its ASCII representation (into buf).
| north | northing | |
| [out] | buf | buffer to hold formatted string |
| projection | projection code, or -1 to force full precision FP |
Definition at line 29 of file wind_format.c.
References FALSE, G_lat_format(), PROJECTION_LL, and TRUE.
Referenced by G__write_Cell_head(), and G_get_3dview().
Resolution to ASCII.
Converts the double representation of the resolution to its ASCII representation (into buf).
| res | resolution value | |
| [out] | buf | buffer to hold formatted string |
| projection | projection code, or -1 to force full precision FP |
Definition at line 69 of file wind_format.c.
References FALSE, G_llres_format(), PROJECTION_LL, and TRUE.
Referenced by G__write_Cell_head(), and G__write_Cell_head3().