length() {

		const head = this.head();
		const tail = this.tail();

		if ( tail !== null ) {

			return tail.point.distanceTo( head.point );

		}

		return - 1;

	}
Returns the Euclidean length (straight-line length) of the edge.

@private
@return {number} The edge's length.