nice, if you want to simulate a grenade explosion then you can use it to see where is a wall and no force will go through it so if a player stand behind that wall he wont get hit by the grenade only who is in the range of the yellow lines.
And if you use Box2D you have the awesome box2DLights, with raycasting, light type, shadows...
(C'mon @wonder , you know that someday you'll try box2d)
Maybe one day... but I really like writing and tweaking my own code.
So, if everything goes well, I'll rewrite this algorithm in C++ and I'll implement it in my project.