code: function(deflection, length) {
          var previousIndex = this.getCurrentPointIndex() - 1;
          if (previousIndex > 0) {
              var p1 = this.line.geometry.components[previousIndex];
              var p0 = this.line.geometry.components[previousIndex-1];
              var theta = Math.atan2(p1.y - p0.y, p1.x - p0.x);
              this.insertDirectionLength(
                  (theta * 180 / Math.PI) + deflection, length
              );
          }
      }
docs: Method: insertDeflectionLength
  Insert a point in the current sketch given a deflection and a length.
  The deflection should be degrees clockwise from the previously
  digitized segment.
  
  Parameters:
  deflection - {Number} Degrees clockwise from the previous segment.
  length - {Number} Distance from the previously drawn point.