Chalkboard - v3.0.1
    Preparing search index...

    Function sectorP

    • Calculates the perimeter of a sector of a circle.

      Parameters

      • r: number

        The radius

      • rad: number

        The spanned radians

      Returns number

      // Returns 15.707963267948967
      const perimeter = Chalkboard.geom.sectorP(5, Chalkboard.PI());