1. Pick the base point.
  2. Track and pick the next point to set the z-axis for the gizmo
  3. Track a rotation for the X-axis and Y-axis.
  4. Set the guide rotation angle about polar gizmo.

The line guide is divided in points that can be used as snap targets. The distance of the marks can be set on the modifier panel.