SE_layergrid_get_grid_sizes

Gets grid sizes for a layer

Usage syntax

LONG SE_layergrid_get_grid_sizes (SE_LAYERGRID layergrid, LFLOAT *grid_size, LFLOAT *grid_size2, LFLOAT *grid_size3);
 

Parameters
layergrid The handle for the layer grid from which to get the grid sizes
grid_size The base grid size or spatial index code
grid_size2 The second level grid size
grid_size3 The third level grid size
Description

This function dumps out the calculated grid sizes for the layer using information applied against the layer grid object. These values are only actually grid sizes for those databases and geometry storage types that use a grid spatial index. For all others, the grid_size parameter indicates the type of spatial index and grid_size2 and grid_size3 are NULL. See SE_layerinfo_get_grid_sizes for a list of possible values for the grid_size parameter.

Returns

SE_SUCCESS
SE_INVALID_POINTER
SE_INVALID_LAYERGRID_OBJECT