Package micycle.pgs.commons
Class RandomPolygon
java.lang.Object
micycle.pgs.commons.RandomPolygon
Random Convex Polygons
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<processing.core.PVector>
generateRandomConvexPolygon
(int n, double xMax, double yMax, long seed)
-
Method Details
-
generateRandomConvexPolygon
public static List<processing.core.PVector> generateRandomConvexPolygon(int n, double xMax, double yMax, long seed) - Parameters:
n
- number of vertices- Returns:
-