Edit: See skatehead's post below before I embarrass myself any further.
This is useful if you want a player to shoot a bullet at, say, 45 degrees (pi/4 radians), you can figure out what force (expressed as a b2Vec2) to apply to the bullet so that it flies at that angle; ie, you can do bullet->ApplyImpulse(rad2vec(pi/4,10),b2Vec2(0,0)) to shoot a bullet at 10 m/s north-east.
This is useful if you want a player to shoot a bullet at, say, 45 degrees (pi/4 radians), you can figure out what force (expressed as a b2Vec2) to apply to the bullet so that it flies at that angle; ie, you can do bullet->ApplyImpulse(rad2vec(pi/4,10),b2Vec2(0,0)) to shoot a bullet at 10 m/s north-east.