# getMaximumYawAngle method

double getMaximumYawAngle()

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

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

## Implementation

    double getMaximumYawAngle() {
      Pointer<Float> pMaximumYawAngle = calloc();
      try {
        var err = faceSDK.id3FacePortraitProcessor_GetMaximumYawAngle(_pHandle.value, pMaximumYawAngle);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vMaximumYawAngle = pMaximumYawAngle.value;
        return vMaximumYawAngle;
      } finally {
        calloc.free(pMaximumYawAngle);
      }
    }