Circle managed by center line

Hi guys,
I want to attach the line to the circle and when I move the line’s corners to the left or the right the circle change the radius of the circle.

I’ve tried with this patch but I cant resolve it.

Also, It is posible to not show the piece of line inside the circle?

Could someone help me?

Regards,
Ale

CircleLineIntersect.zip (12.3 kB)