diagramatics
    Preparing search index...

    Function regular_polygon_side

    • Create regular polygon centered at origin with a given side length

      Parameters

      • n: number

        number of sides

      • sidelength: number = 1

        side length of the polygon

      Returns Diagram

      a Diagram object * if you want to create a regular polygon with a given radius, use regular_polygon