Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "2d/ellipse"

Index

Functions

area

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

    Parameters

    • majorRadius: number

      The shorter radius of the ellipse.

    • minorRadius: number

      The longer radius of the ellipse.

    Returns number

    The area of the ellipse.

majorRadius

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

    Parameters

    • area: number

      The area of the ellipse.

    • minorRadius: number

      The minor radius of the ellipse.

    Returns number

    The major radius of the ellipse.

minorRadius

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

    Parameters

    • area: number

      The area of the ellipse.

    • majorRadius: number

      The major radius of the ellipse.

    Returns number

    The minor radius of the ellipse.

Made by Horyus. Documentation generated by TypeDoc.