newInstance

open override fun newInstance(value: Double): Distance

Creates a new instance of Distance with the given value

Parameters

value

the value in millimeters to create an instance with