org.das2.datum.UnitsConverter.ScaleOffset

ScaleOffset( double scale, double offset )

Creates a new UnitsConverter.ScaleOffset. This converter multiplies by scale and adds offset, so offset is in the target Units. For example, deg C to deg F would be {@code new UnitsConverter.ScaleOffset( 9./5, 32 )}.


append

append( org.das2.datum.UnitsConverter that ) → UnitsConverter

Parameters

that - an UnitsConverter

Returns:

org.das2.datum.UnitsConverter

[search for examples] [view on GitHub] [view on old javadoc] [view source]


convert

convert( double value ) → double

Parameters

value - a double

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]


equals

equals( Object o ) → boolean

Parameters

o - an Object

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getInverse

getInverse( ) → UnitsConverter

Returns:

org.das2.datum.UnitsConverter

[search for examples] [view on GitHub] [view on old javadoc] [view source]


hashCode

hashCode( ) → int

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


toString

toString( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]