next up previous contents index
Next: List element Up: Property element Previous: Property element   Contents   Index

Properties for fractions

For elements of properties relating to fractions, the upper limit (100 %) is determined by the maximum of its domain and its lower limit (0 %) is determined by the minimum of its domain. Therefore, for elements of properties relating to fractions, there should be always specified the minimum and maximum value for the domain for the lower and upper limit, even if it is not used in the Fib object.

As an example, the color red for "colorRGB" is shown here. This is assigned in the Fib object a domain of integers in the range from $-10$ (lower limit) to $90$ (upper limit). The color red is, when viewed, a portion of the red value of a point, which goes from $0.0$ for no red (lower limit) to $1.0$ for maximum red (upper limit). The $-10$ of the property will correspond to the value $0.0$ of the red value on display and the $90$ corresponds to $1.0$. The interim value of the property $40$ will correspond to $0.5$ and the intermediate value $0$ will correspond to $0.1$ . It should be noted that in the domain, not all integers between $-10$ to $90$ must be present. The domain may consist of only eight numbers (eg. $D=\{-10, 0, 3, 4, 5, 21, 40, 90\}$), of which $-10$ is the smallest and $90$ is the greatest number. The $-10$ and the $90$ have to be in the domain, to set the limits, even if they do not appear in the Fib object. The same procedure is used for the other color values of the "colorRGB" property, which may have different domains.


Elements of properties, which are fractions:


next up previous contents index
Next: List element Up: Property element Previous: Property element   Contents   Index
Betti Österholz 2013-02-13