SE_layergrid_create

Create a layer grid generator object

Usage syntax

LONG SE_layergrid_create (SE_LAYERGRID *layergrid, LFLOAT xyUnits);

Parameters
layergrid The layer grid object handle to be returned
xyUnits The unit size for which grid sizes will be calculated
Description

This function call creates a properly initialized layer grid creation object. Once this object has been created, subsequent calls to SE_layergrid_apply_shape() or  SE_layergrid_apply_envelope() add statistics about shapes to this object, and finally, SE_layergrid_get_grid_sizes() is called to generate the grid sizes once all the shapes or envelopes have been applied. When this object is no longer needed, it is freed by SE_layergrid_free().

Returns

SE_SUCCESS
SE_INVALID_POINTER
SE_OUT_OF_SVMEM