zero

fun <U : Unit<U>> zero(unit: U): Vector2d<U>(source)

Creates a zero vector with the specified unit.

Return

a zero vector \((0, 0)\) in the specified unit

Parameters

unit

the unit type for the vector components


A zero vector in inches (for legacy compatibility).