fun strafeTo(endPosition: Vector2d): PathBuilder
Adds a strafe segment (i.e., a line segment with constant heading interpolation).
endPosition - end position
endPosition