Package org.jscience.physics.model
Class NaturalModel
java.lang.Object
org.jscience.physics.model.PhysicalModel
org.jscience.physics.model.NaturalModel
- All Implemented Interfaces:
Dimension.Model
This class represents the natural model.
- See Also:
-
Field Summary
Fields inherited from interface javax.measure.unit.Dimension.Model
STANDARD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDimension
(BaseUnit<?> unit) Returns the dimension of the specified base unit (a dimension particular to the base unit if the base unit is not recognized).getTransform
(BaseUnit<?> unit) Returns the normalization transform of the specified base unit (IDENTITY
if the base unit is not recognized).static void
select()
Selects the relativistic model as the current model.Methods inherited from class org.jscience.physics.model.PhysicalModel
current, setCurrent
-
Constructor Details
-
NaturalModel
public NaturalModel()
-
-
Method Details
-
select
public static void select()Selects the relativistic model as the current model. -
getDimension
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
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.
-