Public Interface of Characteristic Lines
In ESDL, characteristic lines can only be accessed using their public interface. The table summarizes the public methods available for characteristic lines.
Method | Returns | Usage | ||
search(Xvalue) | void | Sets the sample point of the table to Xvalue or calculates interpolation factor for Xvalue. | ||
<type of char. line> | Gets the value for the current sample point or interpolate it from the table. | |||
getAt(Xvalue) | <type of char. line> | Sets the sample point to Xvalue and gets the corresponding value or calculates interpolation factor for Xvalue and interpolates the value. | ||
getX(index) | <type of axis> | Gets the axis point at index.
| ||
setX(index, Xvalue) | void | Sets the axis point at index to Xvalue.
| ||
getValue(index) | <type of char. line> | Gets the value at index. | ||
setValue(index, value) | void | Sets the value at index to value. | ||
udisc | Gets the max. size of the characteristic line. | |||
udisc | Gets the current size of the characteristic line. | |||
setCurrentSize(size) | void | Sets the current size of the characteristic line to size. |
The type of Xvalue and value must be the same as the type of the characteristic line; index and size must be non-negative integers.
See also