Thank you.
Sometimes I pick coordinate ( number 5 ) and sometimes ignore it to number 6.
Just for clarification, the green polyline represents the offset and the target polyline.
Is it possible not to ask the user to specify a point for changing direction and get the intersected point for later offset target polyline?