Class CreateRandomShapeFunctions
java.lang.Object
org.locationtech.jtstest.function.CreateRandomShapeFunctions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static doublehaltonOrdinate(int index, int base) static GeometryhaltonPoints(Geometry g, int nPts) static GeometryhaltonPoints57(Geometry g, int nPts) static GeometryhaltonPointsWithBases(Geometry g, int nPts, int basei, int basej) static GeometryrandomLineString(Geometry g, int nPts) private static CoordinaterandomPointInTriangle(Coordinate p0, Coordinate p1, Coordinate p2) static GeometryrandomPoints(Geometry g, int nPts) static GeometryrandomPointsInGrid(Geometry g, int nPts) static GeometryrandomPointsInGridCircles(Geometry g, int nPts) static GeometryrandomPointsInGridWithGutter(Geometry g, int nPts, double gutterFraction) static GeometryrandomPointsInPolygon(Geometry g, int nPts) static GeometryrandomPointsInTriangle(Geometry g, int nPts) private static CoordinaterandomPtInRectangleAround(Coordinate centre, double width, double height) private static intrandomQuadrant(int exclude) static GeometryrandomRadialPoints(Geometry g, int nPts) static GeometryrandomRectilinearWalk(Geometry g, int nPts) static GeometryrandomSegments(Geometry g, int nPts) static GeometryrandomSegmentsInGrid(Geometry g, int nPts)
-
Constructor Details
-
CreateRandomShapeFunctions
public CreateRandomShapeFunctions()
-
-
Method Details
-
randomPointsInGrid
-
randomPointsInGridCircles
-
randomPointsInGridWithGutter
-
randomPoints
-
randomPointsInPolygon
-
randomPointsInTriangle
-
randomPointInTriangle
-
randomRadialPoints
-
haltonPoints
-
haltonPoints57
-
haltonPointsWithBases
-
haltonOrdinate
private static double haltonOrdinate(int index, int base) -
randomSegments
-
randomSegmentsInGrid
-
randomLineString
-
randomRectilinearWalk
-
randomQuadrant
private static int randomQuadrant(int exclude) -
randomPtInRectangleAround
-