inchesFrom

infix fun Vector2d.inchesFrom(unit: Distance): Vector2d

Create a vector in the desired units to be converted to a conventional Inches unit.

Return

the vector in Inches

Parameters

unit

the unit of both the x and y values