Setting Field Values
SE_SetFieldsToDefault(SE_REGULAR_AXIS_TOKEN, &yFields);
yFields.u.Regular_Axis.axis_type = SE_SAC_SPATIAL_Y_VALUE;
yFields.u.Regular_Axis.axis_unit = SE_UNITS_METER;
yFields.u.Regular_Axis.axis_value_count = gridSizeY;
yFields.u.Regular_Axis.interpolation_type = SE_DIAGONALIZATION;
yFields.u.Regular_Axis.spacing = 100.0;
yFields.u.Regular_Axis.values_are_ints = SE_TRUE;
yFields.u.Regular_Axis.axis_alignment = SE_ALIGN_LOWER;
1, // num_aggregates_no_link
0, // num_components_no_link
0, // num_associates_no_link
if(SE_PutFields(xAxis, &xFields) != SE_SUCCESS)
printf(“Unable to put the fields of the axis object\n”);