Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "2d/rhombus"

Index

Functions

area

  • area(diag1: number, diag2: number): number
  • Finds The area if a rhombus given the lengths of the diagonals.

    Parameters

    • diag1: number

      The length of one of the diagonals.

    • diag2: number

      The length of the other diagonal.

    Returns number

missingExteriorAngle

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

    Parameters

    • angle1: number

      One angle of the rhombus.

    • angle2: number

      Another angle of the rhombus.

    • angle3: number

      The final angle of the rhombus.

    Returns number

    The final exterior angle.

missingInteriorAngle

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

    Parameters

    • angle1: number

      One angle of the rhombus.

    • angle2: number

      Another angle of the rhombus.

    • angle3: number

      The final angle of the rhombus.

    Returns number

    The final interior angle.

perimeter

  • perimeter(side: number): number
  • Finds the perimeter of the rhombus given the side length.

    Parameters

    • side: number

      The length of one of the sides.

    Returns number

    The rhombus's perimeter.

Made by Horyus. Documentation generated by TypeDoc.