Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "2d/rectangle"

Index

Functions

area

  • area(length: number, width: number): number
  • Finds the area of the rectangle given the height and width.

    Parameters

    • length: number

      The width of the rectangle.

    • width: number

      The height of the rectangle.

    Returns number

missingExteriorAngle

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

    Parameters

    • angle1: number

      One angle of the rectangle.

    • angle2: number

      Another angle of the rectangle.

    • angle3: number

      The final angle of the rectangle.

    Returns number

    The final exterior angle.

missingInteriorAngle

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

    Parameters

    • angle1: number

      One angle of the rectangle.

    • angle2: number

      Another angle of the rectangle.

    • angle3: number

      The final angle of the rectangle.

    Returns number

    The final interior angle.

perimeterBySides

  • perimeterBySides(length: number, width: number): number
  • Finds the perimeter of the rectangle given both side lengths.

    Parameters

    • length: number

      The width of the rectangle.

    • width: number

      The height of the rectangle.

    Returns number

Made by Horyus. Documentation generated by TypeDoc.