Package org.jscience.physics.model
Class RelativisticModel
- java.lang.Object
-
- org.jscience.physics.model.PhysicalModel
-
- org.jscience.physics.model.RelativisticModel
-
- All Implemented Interfaces:
javax.measure.unit.Dimension.Model
public class RelativisticModel extends PhysicalModel
This class represents the relativistic model.- Version:
- 3.1, April 22, 2006
- Author:
- Jean-Marie Dautelle
-
-
Constructor Summary
Constructors Constructor Description RelativisticModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.measure.unit.Dimension
getDimension(javax.measure.unit.BaseUnit<?> unit)
Returns the dimension of the specified base unit (a dimension particular to the base unit if the base unit is not recognized).javax.measure.converter.UnitConverter
getTransform(javax.measure.unit.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
-
-
-
-
Constructor Detail
-
RelativisticModel
public RelativisticModel()
-
-
Method Detail
-
select
public static void select()
Selects the relativistic model as the current model.
-
getDimension
public javax.measure.unit.Dimension getDimension(javax.measure.unit.BaseUnit<?> unit)
Description copied from interface:javax.measure.unit.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 javax.measure.converter.UnitConverter getTransform(javax.measure.unit.BaseUnit<?> unit)
Description copied from interface:javax.measure.unit.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.
-
-