API Docs for: 0.9.3
Show:

Dimensions Class

The Dimensions class captures the physical dimensions associated with a unit of measure.

Constructor

Dimensions

(
  • mass
  • length
  • time
  • charge
  • temperature
  • amount
  • intensity
)

Parameters:

  • mass Rational

    The mass component of the dimensions object.

  • length Rational

    The length component of the dimensions object.

  • time Rational

    The time component of the dimensions object.

  • charge Rational

    The charge component of the dimensions object.

  • temperature Rational

    The temperature component of the dimensions object.

  • amount Rational

    The amount component of the dimensions object.

  • intensity Rational

    The intensity component of the dimensions object.

Item Index

Methods

Properties

Methods

isZero

() Boolean

Determines whether all the components of the Dimensions instance are zero.

Returns:

Boolean:

true if all the components are zero, otherwise false.

Properties

M

Rational

The mass component of this dimensions instance.