getAngle() {
    // Get the angle between the line and the x-axis
    let diff = Vector2.subtract(this.getRightVector(), this.getLeftVector());
    return diff.angle();
  }
Returns the angle of the line in relation to the coordinate system (the x-axis).

@returns {Number} The angle in radians.