Raycasting

I am working on top down game and i need raycasting for line of sight. I examined documentation, but raycasting is not implemented.
I need raycasting to build large pathfinding network and for calculating line of sight of my tanks.

I need example to implement raycasting with polygonshapes.
Here is an excellent tutorial on finding the intersection of two lines. You can implement this for each side of the polygon of interest.

http://softsurfer.com/Archive/algorithm ... _0104B.htm

Original thread: https://box2d.org/forum/viewtopic.php?t=5693