The SEDRIS Data Representation Model
APPENDIX A - Classes Interval Axis |
---|
An instance of this DRM class is an <Axis> instance that specifies an interval for each axis value (tick mark).
Consider an <Interval Axis> instance that specifies
wavelength bands in centimetres. Its field values are specified
as follows:
axis_type = EAC_WAVELENGTH
axis_value_count =
3
axis_interval_value_array[0] =
{SE_INTRVLVALTYP_FLOAT,
EUC_METRE, ESC_CENTI,
{EDCS_NVT_GE_LT_INTERVAL,
2.4, 3.75}}
axis_interval_value_array[1] =
{SE_INTRVLVALTYP_FLOAT,
EUC_METRE, ESC_CENTI,
{EDCS_NVT_GE_LT_INTERVAL,
3.75, 7.5}}
axis_interval_value_array[2] =
{SE_INTRVLVALTYP_FLOAT,
EUC_METRE, ESC_CENTI,
{EDCS_NVT_GE_LT_INTERVAL,
7.5, 15.0}}
No FAQs supplied.
The axis_type field specifies the property being described by the <Axis> instance.
The axis_value_count specifies the number of tick marks along the <Axis> instance.
The axis_interval_value_array field specifies the array of tick mark values, each of which is an interval. While the intervals are not required to be adjacent in a single <Interval Axis> instance, the intervals may not overlap and they shall be in monotonically ascending or monotonically descending order.
If a boundary point can belong to only one interval (that is, there is a gap on one side of the point), it is considered to lie in that interval. If a boundary point is simultaneously the upper bound of one interval and the lower bound of another, it belongs to the interval of which it is the minimal value.
The value_unit field specifies the unit of measurement of the <Interval Axis> instance, which shall be compatible with the requirements imposed by its axis_type value.
If the specified axis_type does not require a unit of measurement, value_unit shall be set to EUC_UNITLESS.
The value_scale field specifies the scale applicable to value_unit.
If the specified axis_type does not require a scale, value_scale shall be set to ESC_UNI.
|