Edge.prototype.getWorldLength = function() {
  if (!this.worldLength) this.calculateWorldLengthAndMidpoint();
  return this.worldLength;
};