• Calculates the area of a regular polygon.

    Parameters

    • n: number

      The number of sides

    • s: number

      The side length

    • a: number

      The apothem length

    Returns number

Generated using TypeDoc