TemperatureScale

Base trait for units of squants.thermal.Temperature

Base trait for units of squants.thermal.Temperature

trait Serializable
class Object
trait Matchable
class Any
object Celsius
object Fahrenheit
object Kelvin
object Rankine

Value members

Abstract methods

Concrete methods

def apply[A](n: A)(num: Numeric[A]): Temperature

Inherited methods

final def convertFrom[N](n: N)(num: Numeric[N]): Double

Applies the converterFrom method to a value

Applies the converterFrom method to a value

Type Params
N

Type

Value Params
n

N value in terms of this Unit

num

Numeric[N]

Inherited from
UnitOfMeasure
final def convertTo[N](n: N)(num: Numeric[N]): Double

Applies the converterTo method to a value

Applies the converterTo method to a value

Type Params
N

Type

Value Params
n

N value in terms of the ValueUnit

num

Numeric[N]

Inherited from
UnitOfMeasure
protected def converterFrom: Double => Double

Defines a signature for converting a quantity from this UOM to the Value UOM

Defines a signature for converting a quantity from this UOM to the Value UOM

Inherited from
UnitOfMeasure
protected def converterTo: Double => Double

Defines a signature for converting a quantity to this UOM from the Value UOM

Defines a signature for converting a quantity to this UOM from the Value UOM

Inherited from
UnitOfMeasure
def symbol: String

Symbol used when representing Quantities in this UnitOfMeasure

Symbol used when representing Quantities in this UnitOfMeasure

Inherited from
UnitOfMeasure
def unapply(q: Temperature): Some[Double]

Extractor method for getting the Numeric value of a Quantity in this UnitOfMeasure

Extractor method for getting the Numeric value of a Quantity in this UnitOfMeasure

Value Params
q

A - The Quantity being matched

Inherited from
UnitOfMeasure