SE_layergrid_create |
Create a layer grid generator object
LONG SE_layergrid_create (SE_LAYERGRID *layergrid, LFLOAT xyUnits);
layergrid | The layer grid object handle to be returned |
xyUnits | The unit size for which grid sizes will be calculated |
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().