public class UnitFunctionOffset extends UnitFunction
Implementation of an offset function for special units such as Cel...
Modifier and Type | Field and Description |
---|---|
protected double |
offset |
printSymbol, scaleFactor
Constructor and Description |
---|
UnitFunctionOffset(double offset) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
double |
fromProperUnit(double value) |
double |
toProperUnit(double value) |
createFunction, getPrintSymbol, getScaleFactor, setPrintSymbol, setScaleFactor
public double toProperUnit(double value)
toProperUnit
in class UnitFunction
public double fromProperUnit(double value)
fromProperUnit
in class UnitFunction
public boolean equals(Object obj)
equals
in class UnitFunction
Copyright © 2016 Sensia Software LLC. All rights reserved.