Class StandardModel

    • Constructor Detail

      • StandardModel

        protected StandardModel()
        Default constructor (allows for derivation).
    • Method Detail

      • select

        public static void select()
        Selects the standard model as the current model.
      • getDimension

        public Dimension getDimension​(BaseUnit<?> unit)
        Description copied from interface: Dimension.Model
        Returns the dimension of the specified base unit (a dimension particular to the base unit if the base unit is not recognized).
        Parameters:
        unit - the base unit for which the dimension is returned.
        Returns:
        the dimension of the specified unit.
      • getTransform

        public UnitConverter getTransform​(BaseUnit<?> unit)
        Description copied from interface: Dimension.Model
        Returns the normalization transform of the specified base unit (IDENTITY if the base unit is not recognized).
        Parameters:
        unit - the base unit for which the transform is returned.
        Returns:
        the normalization transform.