FLDget_npoints


Synopsis

get/set the npoints in a Grid_Struct Grid


int FLDget_npoints (
OMobj_id field,
int *npoints);

int FLDset_npoints (
OMobj_id field,
int npoints);

Description

These routines get/set the npoints in a Grid_Struct Grid. Grid_Structs include Grid_Unif and Grid_Rect grids.

Parameters

OMobj_id field

The OMobj_id of a field containing a Grid_Struct.

int *npoints
int npoints

In FLDget_npoints, *npoints is a pointer to an integer in which the number of points is returned.

In FLDset_npoints, npoints is an integer from which the number of points is copied to the field.

Example

modules/crop.c
modules/down.c
modules/orthoslc.c

Related routines