addForwardLeft Method

Starting at this point, move along vector by tangentFraction of the vector length, and to the left by leftFraction of the perpendicular vector length.

addForwardLeft(tangentFraction: number, leftFraction: number, vector: Vector2d): Point2d

Parameter Type Description
tangentFraction number distance to move along the vector, as a fraction of vector
leftFraction number distance to move perpendicular to the vector, as a fraction of the rotated vector
vector Vector2d  

Returns - Point2d

Defined in

Last Updated: 15 June, 2021