asgaard.utils.unit
Interface Convert

All Known Implementing Classes:
LinearScaling

public abstract interface Convert
extends java.io.Serializable

This Interfqace enables the conversion of a measures.


Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 float getBaseMeasure(float customMeasure)
          Returns the measure in the base-unit
 float getCustomMeasure(float baseMeasure)
          Returns the measure in the custom-unit
 

Method Detail

getBaseMeasure

public float getBaseMeasure(float customMeasure)
Returns the measure in the base-unit

getCustomMeasure

public float getCustomMeasure(float baseMeasure)
Returns the measure in the custom-unit