Hi earboth,
Thanks for the answer. That was too simple and worked out for me

can you please explain the formula here?!!
Rich B. Thanks for the input and your understanding of the question is correct. I'm not that much of a Math person now, have graduated out a long time back and use math formulas rather than explaining them
Also one more question.
The main reason I wanted to do this is to draw two lines based on an angle which is a user's input.
Now that I've done the angle creation part, one thing is remaining, the curve representing the angle.
How do I draw the curve now that I know the start and the endpoint of the curve and the radius of the curve.
Any formula for that too.
Sorry if I'm asking for too much.