Unit

class caris.UnitType

The type of unit.

  • NONE
  • LENGTH
  • AREA
  • VOLUME
  • SPEED
  • MASS
  • POWER
  • PRESSURE
  • TEMPERATURE
  • ANGLE
  • ANGULAR_SPEED
  • TIME
  • DECIBEL
class caris.Unit

The unit of measure.

type

UnitType – The unit’s type

scale_factor

float – The unit’s scale factor

translation_factor

float – The unit’s translation factor

__init__((object)arg1, (UnitType)type, (float)scale_factor, (float)translation_factor) → None