# getMaximumPitchAngle method

double getMaximumPitchAngle()

Gets the maximum head pitch angle, in degrees, for frontal positioning. Hint: Default value is 20.

return Maximum head pitch angle, in degrees, for frontal positioning. throws FaceException An error has occurred during Face Library execution.

## Implementation

    double getMaximumPitchAngle() {
      Pointer<Float> pMaximumPitchAngle = calloc();
      try {
        var err = faceSDK.id3FacePortraitProcessor_GetMaximumPitchAngle(_pHandle.value, pMaximumPitchAngle);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vMaximumPitchAngle = pMaximumPitchAngle.value;
        return vMaximumPitchAngle;
      } finally {
        calloc.free(pMaximumPitchAngle);
      }
    }