SE_layergrid_create_from_coordref |
Creates a layer grid generator object.
LONG SE_layergrid_create_from_coordref (SE_LAYERGRID *layergrid,
SE_COORDREF coordref);
layergrid | The layer grid object handle to be returned. |
coordref | The coordinate reference for the layer for which we are calculating grid sizes |
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, at the end, 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().