code: public double getLength() {
  		double deltaX = this.c2.getX() - this.c1.getX();
  		double deltaY = this.c2.getY() - this.c1.getY();
  		return Math.sqrt(deltaX * deltaX + deltaY * deltaY);
  	}
docs: Return the length of the linesegment.