Represents a unit that refers to a reference quantity. Example: 'Percent of page with' is a unit, which refers to the quantity 'page width' (which has the dimension of length). Thus this unit is a combination of a dimensionless unit (in the example: 'percent') and the reference quantity (in the example: 'page width'). This dimension of this unit is equal to the dimension of the reference quantity (i.e. in the above example 'length').
Instance member | Description |
Full Usage:
this.GetRelativeValueFromValue
Parameters:
float
-
Numerical value to convert.
Returns: float
The prefactor to multiply the IRelativeUnit.ReferenceQuantity with in order to get the absolute quantity.
Modifiers: abstract |
Calculated the dimensionless prefactor to multiply the IRelativeUnit.ReferenceQuantity with. Example: Given that the relative unit is 'percent of page with', a value of x=5 is converted to 0.05. The result can then be used to calculate the absolute quantity by multiplying the result of 0.05 with the 'page with'.
|
|
The corresponding quantity that this unit encapsulates.
|