I am trying to analytically calculate the propagation of a light ray in a glass fiber. While the physics of it is clear to me, I am not sure how describe arbitrary geometries of the fiber and then calculate analytically the intersection point and angle of the intersection. From this I would need to define a new, reflected and shifted ray. Then again calculate the intersection etc. .
Here I had attempted an idea using analytical geometry, where I would describe the ray as a line, the fiber as a curve with a cylindrical surface. I was told there might be easier solutions to my problem. I would appreciate your help and ideas to this. Thanks!