getX

open fun getX(): Double

Returns the x component of the vector.

Return

the x component of the vector.