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#

The unit’s type

Type:

UnitType

scale_factor#

The unit’s scale factor

Type:

float

translation_factor#

The unit’s translation factor

Type:

float

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