steradian

The steradian module can itself be used as a default instance of the Steradian type, or as a constructor of new instances of Steradian objects. Use the module as default instance if you want a single, global instance of Steradian that comes pre-loaded with the Units from the SI and Imperial Systems. Use the module as a constructor if you want one or more Steradian instances that do not come preloaded with any Units.
See:

Type Definitions

BaseUnitDefinition

A definition of a BaseUnit.
Properties:
Name Type Description
name string Full name of the Unit you are creating. This is the name that will be used to retrieve the Unit.
type string String corresponding to the type of unit being created. Valid names can be found in the UnitType enumeration.
symbol string The symbol that will be used for the Unit in string representations of Quantities and UnitExpressions.
scale number The "scale" of the Unit, which represents its size relative to a default Unit of the same type, which should have the scale of 1.0. The correct question to ask when picking a scale is "how many of these units fit *inside* the default unit?" Example: 'meter' is the default unit of measure. How many feet fit inside a meter? About 3.28084. So the scale of 'foot' should be 3.28084. Larger-than-default units will have scales less than 1.0. Example: 'second' is the default unit of time. How many minutes fit inside a second? 1/60th of one minute. So the scale of 'minute' should be 1/60, or 0.01666.

DerivedUnitDefinition

A definition of a DerivedUnit.
Properties:
Name Type Description
name string Full name of the Unit you are creating. This is the name that will be used to retrieve the Unit.
units array units
symbol string The symbol that will be used for the Unit in string representations of Quantities and UnitExpressions.
scale number The "scale" of the Unit, which represents its size relative to a default Unit of the same type, which should have the scale of 1.0. The correct question to ask when picking a scale is "how many of these units fit *inside* the default unit?" Example: 'meter' is the default unit of measure. How many feet fit inside a meter? About 3.28084. So the scale of 'foot' should be 3.28084. Larger-than-default units will have scales less than 1.0. Example: 'second' is the default unit of time. How many minutes fit inside a second? 1/60th of one minute. So the scale of 'minute' should be 1/60, or 0.01666.

SystemDefinition

A definition of a System
Properties:
Name Type Description
name string name of the System.
base Object an object containing all "standard" BaseUnits in the System.
derived Object an object containing all "standard" DerivedUnits of in the System.
other array an array containing all other (non-standard) units in the System.