Class CreateRandomShapeFunctions
- java.lang.Object
-
- org.locationtech.jtstest.function.CreateRandomShapeFunctions
-
public class CreateRandomShapeFunctions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CreateRandomShapeFunctions()
-
Method Summary
-
-
-
Method Detail
-
randomPointsInGridWithGutter
public static Geometry randomPointsInGridWithGutter(Geometry g, int nPts, double gutterFraction)
-
randomPointInTriangle
private static Coordinate randomPointInTriangle(Coordinate p0, Coordinate p1, Coordinate p2)
-
haltonPointsWithBases
public static Geometry haltonPointsWithBases(Geometry g, int nPts, int basei, int basej)
-
haltonOrdinate
private static double haltonOrdinate(int index, int base)
-
randomQuadrant
private static int randomQuadrant(int exclude)
-
randomPtInRectangleAround
private static Coordinate randomPtInRectangleAround(Coordinate centre, double width, double height)
-
-