Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "2d/trapezoid"

Index

Functions

area

  • area(base1: number, base2: number, height: number): number
  • Finds the area of the trapezoid given the bases and the height.

    Parameters

    • base1: number

      One of the bases of the trapezoid.

    • base2: number

      The other base of the trapezoid.

    • height: number

      The height of the trapezoid.

    Returns number

    The area of the trapezoid.

missingExteriorAngle

  • missingExteriorAngle(angle1: number, angle2: number, angle3: number): number
  • Finds the final exterior angle of the trapezoid given the others.

    Parameters

    • angle1: number

      One angle of the trapezoid.

    • angle2: number

      Another angle of the trapezoid.

    • angle3: number

      The final angle of the trapezoid.

    Returns number

    The final exterior angle.

missingInteriorAngle

  • missingInteriorAngle(angle1: number, angle2: number, angle3: number): number
  • Finds the final interior angle of the trapezoid given the others.

    Parameters

    • angle1: number

      One angle of the trapezoid.

    • angle2: number

      Another angle of the trapezoid.

    • angle3: number

      The final angle of the trapezoid.

    Returns number

    The final interior angle.

Made by Horyus. Documentation generated by TypeDoc.