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

GIS Library - Write Cell Header functions. More...

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

Go to the source code of this file.

Functions

int G__write_Cell_head (FILE *fd, const struct Cell_head *cellhd, int is_cellhd)
 Write cell header or window. More...
 
int G__write_Cell_head3 (FILE *fd, const struct Cell_head *cellhd, int is_cellhd)
 Write 3D cell header or window. More...
 

Detailed Description

GIS Library - Write Cell Header 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 wr_cellhd.c.

Function Documentation

int G__write_Cell_head ( FILE *  fd,
const struct Cell_head *  cellhd,
int  is_cellhd 
)

Write cell header or window.

Parameters
[in,out]fdheader file
[in]cellhdpointed to cell header structure
[in]is_cellhd1 cell header; 0 window
Returns
always returns 1

Definition at line 30 of file wr_cellhd.c.

References buf, G_format_easting(), G_format_northing(), and G_format_resolution().

Referenced by G__write_Cell_head3(), and G_put_cellhd().

int G__write_Cell_head3 ( FILE *  fd,
const struct Cell_head *  cellhd,
int  is_cellhd 
)

Write 3D cell header or window.

Parameters
[in,out]fdheader file
[in]cellhdpointer to cell header structure
[in]is_cellhd1 cell header; 0 window
Returns
always returns 1

Definition at line 80 of file wr_cellhd.c.

References buf, G__write_Cell_head(), and G_format_resolution().

Referenced by G__put_window().