Example 3: The <Data Table> Extents
<Data Table>s may have 1 or more spatial or non-spatial dimensions.
The dimensional extents of <Data Table> is determined by its ordered <Axis> components.
A Level 1 API function exists to get a <Data Table>’s extents.
SE_Status_Code SE_GetDataTableSubExtent
SE_Data_Table_Sub_Extent *extents_ptr,
SE_Integer_Unsigned *cell_count_ptr
- The number of cells in the <Data Table> is returned.
- SE_Data_Table_Sub_Extent stores the number of <Axis> dimensions and the starting and stopping value for each <Axis>.
- The extents should be freed with the Level 1 function below:
SE_Status_Code SE_FreeDataTableSubExtent
SE_Data_Table_Sub_Extent *extents_ptr