Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "2d/square"

Index

Functions

area

  • area(size: number): number
  • Finds the area of the square given its size.

    Parameters

    • size: number

      The length of one of the sides.

    Returns number

    The area of the square.

missingExteriorAngle

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

    Parameters

    • angle1: number

      One angle of the square.

    • angle2: number

      Another angle of the square.

    • angle3: number

      The final angle of the square.

    Returns number

    The final exterior angle.

missingInteriorAngle

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

    Parameters

    • angle1: number

      One angle of the square.

    • angle2: number

      Another angle of the square.

    • angle3: number

      The final angle of the square.

    Returns number

    The final interior angle.

perimeterByArea

  • perimeterByArea(area: number): number
  • Finds the perimeter of the square given the area,

    Parameters

    • area: number

      The area of the square.

    Returns number

    The perimeter of the square.

perimeterBySize

  • perimeterBySize(size: number): number
  • Finds the perimeter of the square given its size.

    Parameters

    • size: number

      The length of one of the sides.

    Returns number

    The perimeter of the square.

Made by Horyus. Documentation generated by TypeDoc.