code: function(length) {
  
          var dividerPoint = this.pointAtLength(length);
  
          // return array with two new lines
          return [
              new Line(this.start, dividerPoint),
              new Line(dividerPoint, this.end)
          ];
      }
docs: Divides the line into two at requested `length`.