If i want to find out what is x and y of point lies of a line drawn from center of the rectangle to outward at certain angle.
take a look at picture below.
If i want to find out what is x and y of point lies of a line drawn from center of the rectangle to outward at certain angle.
take a look at picture below.
It looks like a line clipping problem (computer graphics). Right?
http://www.cc.gatech.edu/grads/h/Hao-wei.Hsieh/Haowei.Hsieh/mm.html#sec2