# getMaximumRollAngle method

double getMaximumRollAngle()

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

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

## Implementation

    double getMaximumRollAngle() {
      Pointer<Float> pMaximumRollAngle = calloc();
      try {
        var err = faceSDK.id3FacePortraitProcessor_GetMaximumRollAngle(_pHandle.value, pMaximumRollAngle);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vMaximumRollAngle = pMaximumRollAngle.value;
        return vMaximumRollAngle;
      } finally {
        calloc.free(pMaximumRollAngle);
      }
    }