GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
wind_scan.c File Reference

GIS Library - Window scanning functions. More...

#include <stdio.h>
#include <grass/gis.h>
Include dependency graph for wind_scan.c:

Go to the source code of this file.

Functions

int G_scan_northing (const char *buf, double *northing, int projection)
 ASCII northing to double. More...
 
int G_scan_easting (const char *buf, double *easting, int projection)
 ASCII easting to double. More...
 
int G_scan_resolution (const char *buf, double *res, int projection)
 ASCII resolution to double. More...
 

Detailed Description

GIS Library - Window scanning 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.

Author
GRASS GIS Development Team
Date
1999-2008

Definition in file wind_scan.c.

Function Documentation

int G_scan_easting ( const char *  buf,
double *  easting,
int  projection 
)

ASCII easting to double.

Converts the ASCII "easting" coordinate string in buf to its double representation (into easting).

Parameters
[in]bufbuffer containing string easting
[in,out]easting
[in]projection
Returns
0 on error
1 on success

Definition at line 65 of file wind_scan.c.

References G_lon_scan().

Referenced by D_check_map_window(), E_edit_cellhd(), G__oldsite_get(), and G__read_Cell_head_array().

int G_scan_northing ( const char *  buf,
double *  northing,
int  projection 
)

ASCII northing to double.

Converts the ASCII "northing" coordinate string in buf to its double representation (into northing).

Parameters
[in]bufbuffer hold string northing
[in,out]northing
[in]projection
Returns
0 on error
1 on success

Definition at line 37 of file wind_scan.c.

References G_lat_scan().

Referenced by D_check_map_window(), E_edit_cellhd(), G__oldsite_get(), and G__read_Cell_head_array().

int G_scan_resolution ( const char *  buf,
double *  res,
int  projection 
)

ASCII resolution to double.

Converts the ASCII "resolution" string in buf to its double representation (into resolution).

Parameters
[in]bufbuffer containing string resolution
[in,out]resolution
[in]projection
Returns
0 on error
1 on success

Definition at line 97 of file wind_scan.c.

References G_llres_scan().

Referenced by E_edit_cellhd(), and G__read_Cell_head_array().