Lines Matching defs:unit
3 * These classes are used for defining different unit systems.
57 * of this unit.
61 /** Checks if a unit is compatible with the specified unit. */
76 /** Get SVG unit code. */
79 /** Convert value from this unit **/
89 Unit const *unit;
97 /** Checks if a quantity is compatible with the specified unit. */
102 /** Return the quantity's value in the specified unit. */
107 /** Return a printable string of the value in the specified unit. */
127 return Geom::are_near(a.quantity, b.value(a.unit), eps);
133 * Initializes the unit tables and identifies the primary unit types.
135 * The primary unit's conversion factor is required to be 1.00
143 /** Add a new unit to the table */
146 /** Retrieve a given unit based on its string identifier */
150 /** Try to find a unit based on its conversion factor to the primary */
153 /** Retrieve a given unit based on its SVGLength unit */
159 /** Remove a unit definition from the given unit type table * /
163 /** Returns true if the given string 'name' is a valid unit in the table */
166 /** Provides an iteratable list of items in the given unit table */
169 /** Returns the default unit abbr for the given type */
179 * possibly overwriting existing unit definitions.