Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Data Structures
Units_ShiftedToken.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Units_ShiftedToken.hxx>
#include <Standard_Real.hxx>
#include <Units_Token.hxx>
#include <Standard_CString.hxx>
#include <Handle_Units_Dimensions.hxx>
#include <Handle_Units_Token.hxx>
#include <Standard_Integer.hxx>

Data Structures

class  Units_ShiftedToken
 The ShiftedToken class inherits from Token and
describes tokens which have a gap in addition of
the multiplicative factor. This kind of token
allows the description of linear functions which
do not pass through the origin, of the form :

y = ax +b

where <x> and <y> are the unknown variables,
the mutiplicative factor, and the gap relative
to the ordinate axis.

An example is the tranlation between the Celsius
and Fahrenheit degree of temperature.
More...