c_wrtgrid - Write a geometric mapping grid to a label services file

SYNTAX

#include "grid.h"

FUNCTION c_wrtgrid (grid)

    struct GRID *grid;

PARAMETERS

grid (struct GRID *, input)

The geometric mapping grid to write.

DESCRIPTION

Write a geometric mapping grid to a label services file. The grid will be saved in the file grid->gridname.

RETURN VALUE

c_wrtgrid() returns

    E_SUCC --> Successful completion.
    E_FAIL --> Operation failed.