Polar Line Representation

Formula of the line is:

xcos(θ ) – ysin(θ ) = d

d(distance) = Perpendicular distance from origin(reference point) to a line.

θ(angle) = Angle of the perpendicular  line makes with the x axis (reference direction).