# Class Settings

java.lang.Object
com.codename1.gaming.physics.box2d.common.Settings

public class Settings extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final float`
  `aabbExtension`
  `static final float`
  `aabbMultiplier`
  `static final float`
  `angularSleepTolerance`
  `static final float`
  `angularSlop`
  `static final float`
  `baumgarte`
  `static int`
  `CONTACT_STACK_INIT_SIZE`
  `static final float`
  `EPSILON`
  `static boolean`
  `FAST_ABS`
  `static boolean`
  `FAST_ATAN2`
  `static boolean`
  `FAST_CEIL`
  `static boolean`
  `FAST_FLOOR`
  `static boolean`
  `FAST_ROUND`
  `static final float`
  `linearSleepTolerance`
  `static final float`
  `linearSlop`
  `static final float`
  `maxAngularCorrection`
  `static final float`
  `maxLinearCorrection`
  `static final int`
  `maxManifoldPoints`
  `static final int`
  `maxPolygonVertices`
  `static final float`
  `maxRotation`
  `static float`
  `maxRotationSquared`
  `static final int`
  `maxSubSteps`
  `static final int`
  `maxTOIContacts`
  `static final float`
  `maxTranslation`
  `static final float`
  `maxTranslationSquared`
  `static final float`
  `PI`
  `static final float`
  `polygonRadius`
  `static boolean`
  `SINCOS_LUT_ENABLED`
  `static final int`
  `SINCOS_LUT_LENGTH`
  `static boolean`
  `SINCOS_LUT_LERP`
  `static final float`
  `SINCOS_LUT_PRECISION`
  `static final float`
  `timeToSleep`
  `static final float`
  `toiBaugarte`
  `static final float`
  `velocityThreshold`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Settings()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static final float`
  `mixFriction(float friction1, float friction2)`
  `static final float`
  `mixRestitution(float restitution1, float restitution2)`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### EPSILON

    public static final float EPSILON
    See Also:
      - Constant Field Values

  - ### PI

    public static final float PI
    See Also:
      - Constant Field Values

  - ### FAST_ABS

    public static boolean FAST_ABS

  - ### FAST_FLOOR

    public static boolean FAST_FLOOR

  - ### FAST_CEIL

    public static boolean FAST_CEIL

  - ### FAST_ROUND

    public static boolean FAST_ROUND

  - ### FAST_ATAN2

    public static boolean FAST_ATAN2

  - ### CONTACT_STACK_INIT_SIZE

    public static int CONTACT_STACK_INIT_SIZE

  - ### SINCOS_LUT_ENABLED

    public static boolean SINCOS_LUT_ENABLED

  - ### SINCOS_LUT_PRECISION

    public static final float SINCOS_LUT_PRECISION
    See Also:
      - Constant Field Values

  - ### SINCOS_LUT_LENGTH

    public static final int SINCOS_LUT_LENGTH

  - ### SINCOS_LUT_LERP

    public static boolean SINCOS_LUT_LERP

  - ### maxManifoldPoints

    public static final int maxManifoldPoints
    See Also:
      - Constant Field Values

  - ### maxPolygonVertices

    public static final int maxPolygonVertices
    See Also:
      - Constant Field Values

  - ### aabbExtension

    public static final float aabbExtension
    See Also:
      - Constant Field Values

  - ### aabbMultiplier

    public static final float aabbMultiplier
    See Also:
      - Constant Field Values

  - ### linearSlop

    public static final float linearSlop
    See Also:
      - Constant Field Values

  - ### angularSlop

    public static final float angularSlop
    See Also:
      - Constant Field Values

  - ### polygonRadius

    public static final float polygonRadius
    See Also:
      - Constant Field Values

  - ### maxSubSteps

    public static final int maxSubSteps
    See Also:
      - Constant Field Values

  - ### maxTOIContacts

    public static final int maxTOIContacts
    See Also:
      - Constant Field Values

  - ### velocityThreshold

    public static final float velocityThreshold
    See Also:
      - Constant Field Values

  - ### maxLinearCorrection

    public static final float maxLinearCorrection
    See Also:
      - Constant Field Values

  - ### maxAngularCorrection

    public static final float maxAngularCorrection
    See Also:
      - Constant Field Values

  - ### maxTranslation

    public static final float maxTranslation
    See Also:
      - Constant Field Values

  - ### maxTranslationSquared

    public static final float maxTranslationSquared
    See Also:
      - Constant Field Values

  - ### maxRotation

    public static final float maxRotation
    See Also:
      - Constant Field Values

  - ### maxRotationSquared

    public static float maxRotationSquared

  - ### baumgarte

    public static final float baumgarte
    See Also:
      - Constant Field Values

  - ### toiBaugarte

    public static final float toiBaugarte
    See Also:
      - Constant Field Values

  - ### timeToSleep

    public static final float timeToSleep
    See Also:
      - Constant Field Values

  - ### linearSleepTolerance

    public static final float linearSleepTolerance
    See Also:
      - Constant Field Values

  - ### angularSleepTolerance

    public static final float angularSleepTolerance
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### Settings

    public Settings()

- ## Method Details

  - ### mixFriction

    public static final float mixFriction(float friction1, float friction2)

  - ### mixRestitution

    public static final float mixRestitution(float restitution1, float restitution2)