Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "2d/oval"

Index

Functions

area

  • area(majorRadius: number, minorRadius: number): number
  • Finds the area of the oval given the radiuses.

    Parameters

    • majorRadius: number

      The shorter radius of the oval.

    • minorRadius: number

      The longer radius of the oval.

    Returns number

    The area of the oval.

majorRadius

  • majorRadius(area: number, minorRadius: number): number
  • Finds the major radius given the area and minor radius.

    Parameters

    • area: number

      The area of the oval.

    • minorRadius: number

      The minor radius of the oval.

    Returns number

    The major radius of the oval.

minorRadius

  • minorRadius(area: number, majorRadius: number): number
  • Finds the minor radius given the area and minor radius.

    Parameters

    • area: number

      The area of the oval.

    • majorRadius: number

      The major radius of the oval.

    Returns number

    The minor radius of the oval.

Made by Horyus. Documentation generated by TypeDoc.