FLDFget_coord_extent
FLDFset_coord_extent


Synopsis

get/set the min_vec and max_vec coordinate extents in a Grid


INTEGER FLDFget_coord_extent (field, min_extent, max_extent)
INTEGER field(OIDSIZ)
REAL min_extent(3)
REAL max_extent(3)

INTEGER FLDFset_coord_extent (ield, min_extent, max_extent)
INTEGER field(OIDSIZ)
REAL min_extent(3)
REAL max_extent(3)
INTEGER nspace

Description

These routines get and set the min_vec and max_vec coordinate extents in a Grid.

By default, the min_vec and max_vec values are defined as functions:

float min_vec[veclen] = min_array(values, null_flag, null_value);
float max_vec[veclen] = max_array (values, null_flag, null_value);

Normally, there is no need to ever actively set these values.

FLDFget_coord_extent returns the values of these functions. If the data in the values array changes, the value of the function automatically changes.

FLDFset_coord_extent replaces the values produced by the function with the values you want to appear.

Parameters

field

The integer id of a field that contains a Grid subobject.

min_extent
max_extent

In FLDFget_coord_extent, addresses of arrays of type float into which the min_vec and max_vec for each nspace are copied.

In FLDFset_coord_extent, addresses of arrays of type float from which the min_vec and max_vec for each nspace are copied into the field.

There must be room for nspace floats in each array.

nspace

FLDFset_coord_extent only. An integer that specifies how many of the extents (veclen--just X, just X and Y, or X, Y, Z) you want to set or get with this call.