Companion

object Companion

Properties

Link copied to clipboard
val ZERO: Force

The Force of 0. Note: For ElectricConsumption, this expresses 0 in kilowatt hours per km. Do not use for an ElectricConsumption in miles per kilowatt hour.

Functions

Link copied to clipboard

Creates a Force instance from the given value in kilowatt-hours per 100 kilometers.

Link copied to clipboard

Creates a Force instance from the given value in kilowatt-hours per kilometer.

Link copied to clipboard
fun newtons(value: Double): Force
fun newtons(value: Int): Force
fun newtons(value: Long): Force

Creates a Force instance from the given value in newtons.

Link copied to clipboard

Creates a Force instance from the given value in watt-hours per 100 kilometers.

Link copied to clipboard