docs: private double getAngle(ServletRequest pReq) {
          double angle = 0.0;
          String str = pReq.getParameter(PARAM_ANGLE);
          if (!StringUtil.isEmpty(str)) {
              angle = Double.parseDouble(str);
  
              // Convert to radians, if needed
              str = pReq.getParameter(PARAM_ANGLE_UNITS);
              if (!StringUtil.isEmpty(str)
                      && ANGLE_DEGREES.equalsIgnoreCase(str)) {
                  angle = Math.toRadians(angle);
              }
          }
  
          return angle;
      }