projectOnto

infix fun projectOnto(other: Vector2d): Vector2d

Returns the projection of this vector onto another.