code: function(ref, distance) {
  
              var theta = toRad((new Point(ref)).theta(this));
              var offset = this.offset(cos(theta) * distance, -sin(theta) * distance);
              return offset;
          }
docs: Move point on line starting from ref ending at me by distance distance.