function ep = rb2gr( r, b, sp )

if nargin < 3, sp = [0 0]; end

b = b*pi/180;
ep = sp + r*[cos(b) sin(b)];
