public abstract class PhysicalModel extends Object implements Dimension.Model
This abstract class represents a physical model. Instances of this class determinate the current quantities dimensions.
To select a model, one needs only to call the model select
static method. For example:[code]
public static void main(String[] args) {
// Global (LocalContext should be used for thread-local settings).
RelativisticModel.select();
...
[/code]
Selecting a predefined model automatically sets the dimension of
the base units.
STANDARD| Modifier and Type | Method and Description |
|---|---|
static PhysicalModel |
current()
Returns the current physical model (default: instance of
StandardModel). |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDimension, getTransformpublic static final PhysicalModel current()
StandardModel).