Class StarPolygonFunction

    • Constructor Detail

      • StarPolygonFunction

        public StarPolygonFunction​(int radius,
                                   int numOfPoints,
                                   int offset,
                                   double innerRadius)
        Constructor for creating a polygon function for star shaped polygons
        Parameters:
        radius - Radius of the polygon
        numOfPoints - Number of points of the polygon
        offset - Rotational offset of the points along the radius
        innerRadius - Factor ]0, 1[ for calculating the inner radius of the stars