ianmackenzie / elm-units-prefixed / Units.Torque

Torque is the rotational analogue of linear force. It is also referred to as the moment of force (also abbreviated to moment). It describes the rate of change of angular momentum that would be imparted to an isolated body.


type alias Torque =
Torque


type alias NewtonMeters =
Torque.NewtonMeters

NB: You may notice that the type here is exactly the same as for Energy.Joules.

This means the type checker will not help you in distinguishing between these units.

Metric

newtonMeters : Basics.Float -> Torque

Construct a torque value from a number of newton-meters.

inNewtonMeters : Torque -> Basics.Float

Convert a torque value to a number of newton-meters.

Imperial

poundFeet : Basics.Float -> Torque

Construct a torque value from a number of pound-feet (sometimes called foot-pounds).

inPoundFeet : Torque -> Basics.Float

Convert a torque value to a number of pound-feet (sometimes called foot-pounds).